Other packages > Find by keyword >

ons  

Download Data from the 'Office for National Statistics'
View on CRAN: Click here


Download and install ons package within the R console
Install from CRAN:
install.packages("ons")

Install from Github:
library("remotes")
install_github("cran/ons")

Install by package version:
library("remotes")
install_version("ons", "0.1.4")



Attach the package and use:
library("ons")
Maintained by
Charles Coverdale
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2026-03-12
Latest Update: 2026-03-12
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.
How to cite:
Charles Coverdale (2026). ons: Download Data from the 'Office for National Statistics'. R package version 0.1.4, https://cran.r-project.org/web/packages/ons. Accessed 05 Oct. 2026.
Previous versions and publish date:
(2026-09-09 12:41), 0.1.0 (2026-03-12 10:00), 0.1.3 (2026-03-18 09:30)
Other packages that cited ons R package
View ons citation profile
Other R packages that ons depends, imports, suggests or enhances
Complete documentation for ons
Functions, R codes and Examples using the ons R package
Full ons package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

genie  
Fast, Robust, and Outlier Resistant Hierarchical Clustering
Includes the reference implementation of Genie - a hierarchical clustering algorithm that links two ...
Download / Learn more Package Citations See dependency  
cdlTools  
Tools to Download and Work with USDA Cropscape Data
Downloads USDA National Agricultural Statistics Service (NASS) cropscape data for a specified state ...
Download / Learn more Package Citations See dependency  
correlation  
Methods for Correlation Analysis
Lightweight package for computing different kinds of correlations, such as partial correlations, Ba ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  

28,905

R Packages

247,686

Dependencies

76,495

Author Associations

28,906

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA