pdfetch_ONS: Fetch data from the UK Office of National Statistics

Description Usage Arguments Value Examples

View source: R/pdfetch.R

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

1
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

1
2
3
4
## Not run: 
pdfetch_ONS(c("LF24","LF2G"), "lms")

## End(Not run)

pdfetch documentation built on July 30, 2019, 9:03 a.m.