nomisr
nomisr: Access 'Nomis' UK Labour Market Data - Published in JOSS (2018)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 11 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
api-client
census-data
demography
geographic-data
national-statistics
official-statistics
officialstatistics
peer-reviewed
r
r-package
rstats
uk
Last synced: 4 months ago
·
JSON representation
Repository
Access UK official statistics from the Nomis database through R.
Basic Info
- Host: GitHub
- Owner: ropensci
- License: other
- Language: R
- Default Branch: master
- Homepage: https://docs.ropensci.org/nomisr
- Size: 3.38 MB
Statistics
- Stars: 50
- Watchers: 6
- Forks: 12
- Open Issues: 6
- Releases: 12
Topics
api-client
census-data
demography
geographic-data
national-statistics
official-statistics
officialstatistics
peer-reviewed
r
r-package
rstats
uk
Created almost 8 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Contributing
License
Code of conduct
README.Rmd
---
output: github_document
---
```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```
# nomisr
[](https://opensource.org/licenses/MIT)
[](https://cran.r-project.org/package=nomisr)
[](https://github.com/ropensci/nomisr)
[](https://cran.r-project.org/package=nomisr)
[](https://github.com/ropensci/nomisr/actions)
[](https://codecov.io/github/ropensci/nomisr?branch=master)
[](https://github.com/ropensci/software-review/issues/190)
[](https://doi.org/10.5281/zenodo.1157908)
[](https://doi.org/10.21105/joss.00859)
`nomisr` is for accessing UK official statistics from the [Nomis](https://www.nomisweb.co.uk/) database through R. Nomis contains data from the Census, the Labour Force Survey, DWP benefit statistics and other economic and demographic data, and is maintained on behalf of the Office for National Statistics by the University of Durham.
The `nomisr` package provides functions to find what data is available, the variables and query options for different datasets and a function for downloading data. `nomisr` returns data in [`tibble`](https://cran.r-project.org/package=tibble) format. Most of the data available through `nomisr` is based around statistical geographies, with a handful of exceptions.
The package is for demographers, economists, geographers, public health researchers and any other researchers who are interested in geographic factors. The package aims to aid reproducibility, reduce the need to manually download area profiles, and allow easy linking of different datasets covering the same geographic area.
## Installation
`nomisr` is available on CRAN:
```{r cran-installation, eval = FALSE}
install.packages("nomisr")
```
You can install the development version `nomisr` from github with:
```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("ropensci/nomisr")
```
## Using `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 `nomisr` vignette [introduction](https://docs.evanodell.com/nomisr/articles/introduction.html) has details on all available functions and basic demonstrations of their use.
The example below demonstrates 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.
```{r example}
library(nomisr)
jobseekers_search <- nomis_search(name = "*Jobseeker*")
tibble::glimpse(jobseekers_search)
jobseekers_measures <- nomis_get_metadata("NM_1_1", "measures")
tibble::glimpse(jobseekers_measures)
jobseekers_geography <- nomis_get_metadata("NM_1_1", "geography", "TYPE")
tail(jobseekers_geography)
jobseekers_sex <- nomis_get_metadata("NM_1_1", "sex", "TYPE")
tibble::glimpse(jobseekers_sex)
z <- nomis_get_data(id = "NM_1_1", time = "latest", geography = "TYPE499",
measures=c(20100, 20201), sex=5)
tibble::glimpse(z)
```
There is a lot of data available through Nomis, and there are some limits to the amount of data that can be retrieved within a certain period of time, although those are not published. For more details, see the [full API documentation](https://www.nomisweb.co.uk/api/v01/help) from Nomis. Full package documentation is available at [docs.evanodell.com/nomisr](https://docs.evanodell.com/nomisr).
## Meta
Bug reports, suggestions, and code contributions are all welcome. Please see [CONTRIBUTING.md](https://github.com/ropensci/nomisr/blob/master/CONTRIBUTING.md) for details.
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 of the Office for National Statistics).
Please use the reference below when citing `nomisr`, or use `citation(package = 'nomisr')`.
Odell, (2018). nomisr: Access 'Nomis' UK Labour Market Data. _Journal of Open Source Software_, 3(27), 859, doi: [10.21105/joss.00859](https://doi.org/10.21105/joss.00859).
A BibTeX entry for LaTeX users is
```
@Article{odell2018,
title = {{nomisr}: Access Nomis UK Labour Market Data With R},
volume = {3},
doi = {10.21105/joss.00859},
number = {27},
journal = {The Journal of Open Source Software},
year = {2018},
month = {July},
pages = {859},
author = {Evan Odell},
}
```
License: [MIT](https://github.com/ropensci/nomisr/blob/master/LICENSE.md)
[](https://ropensci.org)
Owner
- Name: rOpenSci
- Login: ropensci
- Kind: organization
- Email: info@ropensci.org
- Location: Berkeley, CA
- Website: https://ropensci.org/
- Twitter: rOpenSci
- Repositories: 307
- Profile: https://github.com/ropensci
JOSS Publication
nomisr: Access 'Nomis' UK Labour Market Data
Published
July 28, 2018
Volume 3, Issue 27, Page 859
Tags
geography official statisticsGitHub Events
Total
- Watch event: 6
Last Year
- Watch event: 6
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Evan Odell | e****1@g****m | 196 |
| pegeler | p****r@g****m | 10 |
| Maëlle Salmon | m****n@y****e | 3 |
| ninarobery | 5****y | 2 |
| Chris Bailey | c****y@g****m | 1 |
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 22
- Total pull requests: 12
- Average time to close issues: about 1 month
- Average time to close pull requests: 5 months
- Total issue authors: 18
- Total pull request authors: 6
- Average comments per issue: 2.64
- Average comments per pull request: 0.75
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- evanodell (3)
- ninarobery (2)
- JimShady (2)
- mrjamesperry (1)
- stephenjarvis (1)
- ralphlsmith (1)
- romainfrancois (1)
- jackobailey (1)
- cassier-barton (1)
- sckott (1)
- jessCfisher (1)
- AlexStead (1)
- Lydiaargh (1)
- Chrisjb (1)
- maelle (1)
Pull Request Authors
- maelle (4)
- pegeler (4)
- evanodell (2)
- Chrisjb (1)
- jeroen (1)
- ninarobery (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 280 last-month
- Total docker downloads: 130,623
- Total dependent packages: 0
- Total dependent repositories: 2
- Total versions: 9
- Total maintainers: 1
cran.r-project.org: nomisr
Access 'Nomis' UK Labour Market Data
- Homepage: https://github.com/ropensci/nomisr
- Documentation: http://cran.r-project.org/web/packages/nomisr/nomisr.pdf
- License: MIT + file LICENSE
- Status: removed
-
Latest release: 0.4.7
published over 3 years ago
Rankings
Docker downloads count: 0.0%
Forks count: 6.8%
Stargazers count: 7.8%
Average: 15.9%
Dependent repos count: 19.2%
Dependent packages count: 28.7%
Downloads: 33.2%
Maintainers (1)
Last synced:
4 months ago
Dependencies
DESCRIPTION
cran
- R >= 3.4.0 depends
- dplyr * imports
- httr * imports
- jsonlite * imports
- rlang * imports
- rsdmx * imports
- snakecase * imports
- tibble * imports
- utils * imports
- ggplot2 * suggests
- knitr * suggests
- magrittr * suggests
- purrr * suggests
- readr * suggests
- rmarkdown * suggests
- scales * suggests
- testthat * suggests
- tidyr * suggests
.github/workflows/check-standard.yaml
actions
- actions/checkout v2 composite
- actions/upload-artifact main composite
- r-lib/actions/check-r-package v1 composite
- r-lib/actions/setup-pandoc v1 composite
- r-lib/actions/setup-r v1 composite
- r-lib/actions/setup-r-dependencies v1 composite
