pdfetch_ONS | R Documentation |
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
pdfetch_ONS(identifiers, dataset)
identifiers |
a vector of ONS series codes |
dataset |
optional ONS dataset name, only used if a time series is available in multiple datasets. |
a xts object
## Not run:
pdfetch_ONS(c("LF24","LF2G"), "lms")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.