Skip to content

Commit

Permalink
0.4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
evanodell committed Jan 23, 2021
1 parent a088b76 commit 1a3660b
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 30 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: nomisr
Type: Package
Title: Access 'Nomis' UK Labour Market Data
Version: 0.4.3.9000
Version: 0.4.4
Authors@R: c(
person(
"Evan", "Odell", email = "evanodell91@gmail.com", role = c("aut", "cre"),
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

# nomisr 0.4.3.9000
# nomisr 0.4.4

* replaced `as.tibble` with `as_tibble`


* Includes second vignette "Work and Health Indicators with nomisr"

# nomisr 0.4.3

Expand Down
6 changes: 3 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ knitr::opts_chunk$set(
[![R build status](https://github.com/ropensci/nomisr/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/nomisr/actions)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/evanodell/nomisr?branch=master&svg=true)](https://ci.appveyor.com/project/evanodell/nomisr)
[![Coverage Status](https://img.shields.io/codecov/c/github/ropensci/nomisr/master.svg)](https://codecov.io/github/ropensci/nomisr?branch=master)
[![ropensci](https://badges.ropensci.org/190_status.svg)](https://github.com/ropensci/onboarding/issues/190)
[![ropensci](https://badges.ropensci.org/190_status.svg)](https://github.com/ropensci/software-review/issues/190)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1157908.svg)](https://doi.org/10.5281/zenodo.1157908)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.00859/status.svg)](https://doi.org/10.21105/joss.00859)
<!-- badges: end -->
Expand Down Expand Up @@ -52,7 +52,7 @@ devtools::install_github("ropensci/nomisr")

`nomisr` contains functions to search for datasets, identify the query options for different datasets and retrieve data from queries, all done with [`tibbles`](https://tibble.tidyverse.org/), to take advantage of how `tibble` manages list-columns. The use of metadata queries, rather than simply downloading all available data, is useful to avoid overwhelming the rate limits of the API.

There are two `nomisr` vignettes. The [introduction](https://docs.evanodell.com/nomisr/articles/introduction.html) has details on all available functions and basic demonstrations of their use. The [Work and Health Indicators with nomisr](https://docs.evanodell.com/nomisr/articles/introduction-to-work-and-health-nomis-indicators) vignette shows a worked-through demonstration demonstrating the use of key indicators, courtesy of [Nina Robery](github.com/ninarobery) from Public Health England.
There are two `nomisr` vignettes. The [introduction](https://docs.evanodell.com/nomisr/articles/introduction.html) has details on all available functions and basic demonstrations of their use. The [Work and Health Indicators with nomisr](https://docs.evanodell.com/nomisr/articles/introduction-to-work-and-health-nomis-indicators) vignette shows a worked-through demonstration demonstrating the use of key indicators, courtesy of [Nina Robery](https://github.com/ninarobery) from Public Health England.

The example below demostrates a workflow to retrieve the latest data on Jobseeker's Allowance with rates and proportions, on a national level, with all male claimants and workforce.

Expand Down Expand Up @@ -89,7 +89,7 @@ Bug reports, suggestions, and code contributions are all welcome. Please see [CO

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/ropensci/nomisr/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

Please note that this project is not affiliated with the Office for National Statistics or the University of Durham (who run Nomis on behalf o the Office for National Statistics).
Please note that this project is not affiliated with the Office for National Statistics or the University of Durham (who run Nomis on behalf of the Office for National Statistics).

Please use the reference below when citing `nomisr`, or use `citation(package = 'nomisr')`.

Expand Down
23 changes: 9 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ status](https://github.com/ropensci/nomisr/workflows/R-CMD-check/badge.svg)](htt
Status](https://ci.appveyor.com/api/projects/status/github/evanodell/nomisr?branch=master&svg=true)](https://ci.appveyor.com/project/evanodell/nomisr)
[![Coverage
Status](https://img.shields.io/codecov/c/github/ropensci/nomisr/master.svg)](https://codecov.io/github/ropensci/nomisr?branch=master)
[![ropensci](https://badges.ropensci.org/190_status.svg)](https://github.com/ropensci/onboarding/issues/190)
[![ropensci](https://badges.ropensci.org/190_status.svg)](https://github.com/ropensci/software-review/issues/190)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1157908.svg)](https://doi.org/10.5281/zenodo.1157908)
[![DOI](https://joss.theoj.org/papers/10.21105/joss.00859/status.svg)](https://doi.org/10.21105/joss.00859)
<!-- badges: end -->
Expand Down Expand Up @@ -71,8 +71,8 @@ has details on all available functions and basic demonstrations of their
use. The [Work and Health Indicators with
nomisr](https://docs.evanodell.com/nomisr/articles/introduction-to-work-and-health-nomis-indicators)
vignette shows a worked-through demonstration demonstrating the use of
key indicators, courtesy of [Nina Robery](github.com/ninarobery) from
Public Health England.
key indicators, courtesy of [Nina Robery](https://github.com/ninarobery)
from Public Health England.

The example below demostrates a workflow to retrieve the latest data on
Jobseeker’s Allowance with rates and proportions, on a national level,
Expand Down Expand Up @@ -101,11 +101,6 @@ with all male claimants and workforce.
#> $ name.lang <chr> "en", "en", "en", "en", "en", "e…

jobseekers_measures <- nomis_get_metadata("NM_1_1", "measures")
#> Warning: `as.tibble()` is deprecated as of tibble 2.0.0.
#> Please use `as_tibble()` instead.
#> The signature and semantics have changed, see `?as_tibble`.
#> This warning is displayed once every 8 hours.
#> Call `lifecycle::last_warnings()` to see where this warning was generated.

tibble::glimpse(jobseekers_measures)
#> Rows: 4
Expand Down Expand Up @@ -166,9 +161,9 @@ with all male claimants and workforce.
tibble::glimpse(z)
#> Rows: 70
#> Columns: 34
#> $ DATE <chr> "2020-10", "2020-10", "2020-10", "2020-10", "2020…
#> $ DATE_NAME <chr> "October 2020", "October 2020", "October 2020", "…
#> $ DATE_CODE <chr> "2020-10", "2020-10", "2020-10", "2020-10", "2020…
#> $ DATE <chr> "2020-11", "2020-11", "2020-11", "2020-11", "2020…
#> $ DATE_NAME <chr> "November 2020", "November 2020", "November 2020"…
#> $ DATE_CODE <chr> "2020-11", "2020-11", "2020-11", "2020-11", "2020…
#> $ DATE_TYPE <chr> "date", "date", "date", "date", "date", "date", "…
#> $ DATE_TYPECODE <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
#> $ DATE_SORTORDER <dbl> 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0…
Expand All @@ -192,12 +187,12 @@ with all male claimants and workforce.
#> $ ITEM_SORTORDER <dbl> 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 0, 0, 1, 1, 2, 2, 3…
#> $ MEASURES <dbl> 20100, 20201, 20100, 20201, 20100, 20201, 20100, …
#> $ MEASURES_NAME <chr> "Persons claiming JSA", "Workplace-based estimate…
#> $ OBS_VALUE <dbl> 182756.0, 1.0, NA, NA, NA, NA, NA, NA, NA, NA, 17…
#> $ OBS_VALUE <dbl> 179827.0, 0.9, NA, NA, NA, NA, NA, NA, NA, NA, 17…
#> $ OBS_STATUS <chr> "A", "A", "Q", "Q", "Q", "Q", "Q", "Q", "Q", "Q",…
#> $ OBS_STATUS_NAME <chr> "Normal Value", "Normal Value", "These figures ar…
#> $ OBS_CONF <lgl> FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, …
#> $ OBS_CONF_NAME <chr> "Free (free for publication)", "Free (free for pu…
#> $ URN <chr> "Nm-1d1d32330e0d2092957697d5d1d20100", "Nm-1d1d32…
#> $ URN <chr> "Nm-1d1d32331e0d2092957697d5d1d20100", "Nm-1d1d32…
#> $ RECORD_OFFSET <dbl> 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,…
#> $ RECORD_COUNT <dbl> 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 7…
```
Expand All @@ -222,7 +217,7 @@ By participating in this project you agree to abide by its terms.

Please note that this project is not affiliated with the Office for
National Statistics or the University of Durham (who run Nomis on behalf
o the Office for National Statistics).
of the Office for National Statistics).

Please use the reference below when citing `nomisr`, or use
`citation(package = 'nomisr')`.
Expand Down
15 changes: 7 additions & 8 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@

## Release summary

This is an resubmission of the `nomisr` package, version number 0.4.3. It
fixes an issue with broken links in the README in version 0.4.2 from
2020-02-28 by including fully specified URLS.
Overall the package includes more informative error messages,
optimisations to remove extra calls to the Nomis API, and more flexibility
on returned variable name styles.
This is an resubmission of the `nomisr` package, version number 0.4.4. It
removes the use of the deprecated `tibble::as.tibble` function.
It also includes a second vignette showing a detailed package use case.


## Test environments
* local OS X install, R 3.6.2
* ubuntu 16.04 (on travis-ci), (devel and release)
* local macOS install, R 4.0.3
* win-builder (devel and release)
* Windows Server 2019, release (on GitHub Actions)
* macOS Catalina 10.15, release (on GitHub Actions)
* ubuntu 20.04 (devel and release) (on GitHub Actions)

## R CMD check results

Expand Down
3 changes: 1 addition & 2 deletions man/nomis_get_metadata.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a3660b

Please sign in to comment.