ons_meta: R6 class for scraping ONS meta data

Description Usage Examples

Description

This class scraps the meta data from ONS website There are 2 kinds of meta data; Timeseries and Dataset SelectorGadget (from selectorgadget.com) was use to find the required selectors (base_css) The ONS site is new and bound to undergo changes so should watch out for changes in base_murl and base_css

The meta information are stored in 2 tables in sqlite database ons_timeseries and ons_datasets.

ons_timeseries = has 3 colums (code, caption, url) The codes in code in code are unique and the the url points to csv files containing the actual time series data.

ons_datasets has an additional column name url_csv. In this dataset it is rather the url_csv instead of url which points to csv file containing the actual data.

Usage

1

Examples

1

eamoakohene/onsR2 documentation built on May 17, 2021, 5:10 p.m.