ons_available_datasets: Available Datasets

View source: R/ons.R

ons_available_datasetsR Documentation

Available Datasets

Description

Retrieves a dataframe describing the datasets available from ONS via the API.

Usage

ons_available_datasets()

Value

list of available datasets and associated metadata

Author(s)

Neale Swinnerton neale@mastodonc.com

Examples

## Not run: 
# return information on all available datasets and then filter on specific id
datasets <- ons_available_datasets()

datasets %>% 
filter(id='health-accounts')

## End(Not run)
## Not run: 
# display just the ids
ons_available_datasets() %>% select(id)

## End(Not run)

HFAnalyticsLab/monstR documentation built on Sept. 13, 2022, 2:19 a.m.