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
a vector of ONS series codes
optional ONS dataset name, only used if a time series is available in multiple datasets.
a xts object
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.