First public release of nomisdata, providing modern
programmatic access to the UK Nomis labour market database. This release
establishes a production-grade foundation for accessing ONS labour
market statistics through R.
fetch_nomis(): Primary data download function with
automatic pagination for datasets exceeding API row limits (25,000 guest
/ 100,000 registered users)search_datasets(): Full-text search across Nomis
catalogue by name, keywords, and descriptiondescribe_dataset(): Retrieve comprehensive dataset
structure and metadatadataset_overview(): Get detailed overview with
selectable information sectionsget_codes(): Extract dimension codes and hierarchies
for query constructionfetch_codelist(): Download complete code lists for
dataset dimensionslookup_geography(): Geography code resolution with
fuzzy name matchingfetch_spatial(): Download data with KML boundaries for
spatial analysissf package integration for seamless GIS
workflowsadd_geography_names(): Automatic geography name
joinsaggregate_geography(): Hierarchical geographic
aggregationaggregate_time(): Temporal aggregation with flexible
period selectiontidy_names(): Column name standardization with multiple
style optionsset_api_key(): Secure API key management with
.Renviron persistencebrowse_dataset(): Open dataset pages in web browser for
visual explorationexplore_dataset(): Interactive console-based dataset
explorerenable_cache() / clear_cache():
Intelligent cache management for reproducible workflowshttr2-based client with exponential backoff
retry logicmemoise for instant repeated
queriescli and
rlangvcr package integration for offline test fixtures\donttest{}
wrappersjsa_sample) for offline examplesComplete reproduction code for 12 publication-quality figures:
All Visualisations use transparent backgrounds for GitHub dark theme compatibility and include comprehensive methodological notes.
Imports (core functionality): * cli (>= 3.6.0), dplyr (>= 1.1.0), httr2 (>= 1.0.0) * jsonlite (>= 1.8.0), rlang (>= 1.1.0), tibble (>= 3.2.0) * utils, digest, methods
Suggests (enhanced features): * Spatial: sf (>= 1.0.0), rsdmx (>= 0.6.0) * Visualisation: ggplot2 (>= 3.4.0), scales (>= 1.2.0) * Caching: cachem (>= 1.0.0), memoise (>= 2.0.0), rappdirs (>= 0.3.0) * Testing: testthat (>= 3.1.0), vcr (>= 1.2.0), withr (>= 2.5.0) * Documentation: knitr (>= 1.42), rmarkdown (>= 2.20) * Utilities: janitor (>= 2.2.0), readr (>= 2.1.0)
None (initial release)
None
None (initial release)
Planned for future releases:
If using nomisdata in published research:
@Manual{nomisdata2024,
title = {nomisdata: Access Nomis UK Labour Market Data and Statistics},
author = {Cheryl Isabella Lim},
year = {2024},
note = {R package version 0.1.0},
url = {https://github.com/cherylisabella/nomisdata},
}MIT © 2025 Cheryl Isabella Lim
For detailed usage instructions, see the package vignettes:
r browseVignettes("nomisdata")
For bug reports and feature requests: https://github.com/cherylisabella/nomisdata/issues