Sources list of data available through statistics.gov.scot

get_ToC(which = NULL)

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.

Value

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

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.

Examples

# NOT RUN {
# Get list of themes with 'pupil' keyword
head(get_ToC(which = "pupil"), n = 5)
# Get full list
head(get_ToC(), n = 5)
# }