ons 0.1.3
- Examples now wrapped in
try() to handle transient ONS
API failures gracefully during CRAN checks.
ons 0.1.2
- Removed non-existent pkgdown URL from DESCRIPTION.
ons 0.1.1
- Examples now cache to
tempdir() instead of the user’s
home directory, fixing CRAN policy compliance for \donttest
examples.
- Cache directory is now configurable via
options(ons.cache_dir = ...).
ons 0.1.0
- Initial release.
- Data functions:
ons_gdp(),
ons_monthly_gdp(), ons_cpi(),
ons_unemployment(), ons_employment(),
ons_inactivity(), ons_wages(),
ons_trade(), ons_retail_sales(),
ons_house_prices(), ons_productivity(),
ons_population(), ons_public_finances().
- Generic fetch:
ons_get() fetches any series by CDID
code.
- Discovery:
ons_search() searches the ONS catalogue by
keyword.
- Caching:
clear_cache() manages locally cached
data.