Package: ons 0.1.4
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.
Authors:
ons_0.1.4.tar.gz
ons_0.1.4.zip(r-4.7)ons_0.1.4.zip(r-4.6)ons_0.1.4.zip(r-4.5)
ons_0.1.4.tgz(r-4.6-any)ons_0.1.4.tgz(r-4.5-any)
ons_0.1.4.tar.gz(r-4.7-any)ons_0.1.4.tar.gz(r-4.6-any)
ons_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
ons/json (API)
NEWS
| # Install 'ons' in R: |
| install.packages('ons', repos = c('https://charlescoverdale.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/charlescoverdale/ons/issues
Pkgdown/docs site:https://charlescoverdale.github.io
Last updated from:c77e46b138. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 154 | ||
| linux-release-x86_64 | OK | 110 | ||
| macos-release-arm64 | OK | 87 | ||
| macos-oldrel-arm64 | OK | 87 | ||
| windows-devel | OK | 76 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 56 | ||
| wasm-release | OK | 95 |
Exports:clear_cacheons_cpions_employmentons_gdpons_getons_house_pricesons_inactivityons_monthly_gdpons_populationons_productivityons_public_financesons_retail_salesons_searchons_tradeons_unemploymentons_wages
Dependencies:askpassclicurlgluehttr2lifecyclemagrittropensslR6rappdirsrlangsysvctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| ons: Download Data from the 'Office for National Statistics' | ons-package ons |
| Clear the local download cache | clear_cache |
| Download consumer price inflation | ons_cpi |
| Download employment rate | ons_employment |
| Download GDP data | ons_gdp |
| Download any ONS time series by CDID code | ons_get |
| Download UK house prices | ons_house_prices |
| Download economic inactivity | ons_inactivity |
| Download monthly GDP estimate | ons_monthly_gdp |
| Download population estimates | ons_population |
| Download labour productivity | ons_productivity |
| Download public sector finances | ons_public_finances |
| Download retail sales index | ons_retail_sales |
| Search for ONS time series | ons_search |
| Download UK trade data | ons_trade |
| Download unemployment rate | ons_unemployment |
| Download average weekly earnings | ons_wages |
