get_ToC: Get TOC from statistics.gov.scot

Description Usage Arguments Details Value Examples

View source: R/get_toc.R

Description

Sources list of data available through statistics.gov.scot

Usage

1

Arguments

which

Defaults to NULL and returns all subjects, a character value is passed to FILTER in SPARQL query performing case insensitive regex on filter categories.

Details

Sources list of available data sets from statistics.gov.uk and returns a data frame accounting for the available data sets, timespan and geographies.

Value

A data.frame with columns corresponding to table name, available geographies and time series intervals.

Examples

1
2
3
4
5
6
7
## Not run: 
# Get list of themes with 'pupil' keyword
head(get_ToC(which = "pupil"), n = 5)
# Get full list
head(get_ToC(), n = 5)

## End(Not run)

konradedgar/SmarterScotland documentation built on Oct. 3, 2019, 11:46 a.m.