The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

ons: Download Data from the 'Office for National Statistics'

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

Documentation:

Reference manual: ons.html , ons.pdf

Downloads:

Package source: ons_0.1.3.tar.gz
Windows binaries: r-devel: ons_0.1.3.zip, r-release: ons_0.1.3.zip, r-oldrel: ons_0.1.3.zip
macOS binaries: r-release (arm64): ons_0.1.3.tgz, r-oldrel (arm64): ons_0.1.3.tgz, r-release (x86_64): ons_0.1.3.tgz, r-oldrel (x86_64): ons_0.1.3.tgz
Old sources: ons archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ons to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.