Skip to content

ons

Download Data from the 'Office for National Statistics'

v0.1.3 · Mar 18, 2026 · MIT + file LICENSE

Description

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.

Downloads

511

Last 30 days

7776th

511

Last 90 days

511

Last year

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 2 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 12, 2026

Dependency Network

Dependencies Reverse dependencies cli httr2 ons

Version History

updated 0.1.3 ← 0.1.0 diff Mar 18, 2026
new 0.1.0 Mar 12, 2026