pdfetch_ONS {pdfetch} | R Documentation |
Fetch data from the UK Office of National Statistics
Description
The ONS maintains multiple data products; this function can be used to retrieve data from the Time Series Explorer, see https://www.ons.gov.uk/timeseriestool
Usage
pdfetch_ONS(identifiers, dataset)
Arguments
identifiers |
a vector of ONS series codes |
dataset |
optional ONS dataset name, only used if a time series is available in multiple datasets. |
Value
a xts object
Examples
## Not run:
pdfetch_ONS(c("LF24","LF2G"), "lms")
## End(Not run)
[Package pdfetch version 0.2.9 Index]