Provides functions to download and tidy statistical data published by the 'Office for National Statistics' <https://www.ons.gov.uk>. Covers GDP, inflation (CPI, CPIH, RPI), unemployment, employment, wages, trade, retail sales, house prices, productivity, population, and public sector finances. Most series are fetched from the 'ONS' website using its CSV time series endpoint. House price data is sourced from 'HM Land Registry' <https://www.gov.uk/government/organisations/land-registry>. Data is cached locally between sessions.
| Version: | 0.1.3 |
| Depends: | R (≥ 4.1.0) |
| Imports: | cli (≥ 3.6.0), httr2 (≥ 1.0.0), tools |
| Suggests: | testthat (≥ 3.0.0) |
| Published: | 2026-03-18 |
| DOI: | 10.32614/CRAN.package.ons |
| Author: | Charles Coverdale [aut, cre] |
| Maintainer: | Charles Coverdale <charlesfcoverdale at gmail.com> |
| BugReports: | https://github.com/charlescoverdale/ons/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/charlescoverdale/ons |
| NeedsCompilation: | no |
| Language: | en-GB |
| Citation: | ons citation info |
| Materials: | README, NEWS |
| CRAN checks: | ons results |
| Reference manual: | ons.html , ons.pdf |
| Package source: | ons_0.1.3.tar.gz |
| Windows binaries: | r-devel: ons_0.1.3.zip, r-release: ons_0.1.0.zip, r-oldrel: ons_0.1.3.zip |
| macOS binaries: | r-release (arm64): ons_0.1.0.tgz, r-oldrel (arm64): ons_0.1.3.tgz, r-release (x86_64): ons_0.1.0.tgz, r-oldrel (x86_64): ons_0.1.3.tgz |
| Old sources: | ons archive |
Please use the canonical form https://CRAN.R-project.org/package=ons to link to this page.