Description Usage Arguments Value Author(s) Examples
The ONS publishes data in either dataset
format or refernce table
format.
The dataset
format can be dowload as csv but need to know the 4-letter code of the series and the specific dataset
the series reside. The package has 19000 4-letter codes together with their corresponding dataset and other meta information. Once a code is specified, the function lookup the corrending dataset and download the series directly from ONS website.
1 |
code |
4-letter code for the time series |
format |
The format in which the data is returned(ts=time series, df= dataframe) |
title |
description of time series |
m_data |
monthly time series (or data frame if |
q_data |
quarterly time series (or data frame if |
y_data |
yearly time series (or data frame if |
E Amoakohene (eamoakohene@gmail.com)
1 2 3 4 5 | # download("ABMI") #downloads GDP data in ts-format
# download("ABMI",format="df") #downloads GDP data in data frame format
# download("CHAY") #downloads the RPI index
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.