ods_dataset: Download a dataset

Description Usage Arguments Details Value

View source: R/ods_dataset.R

Description

ods_dataset returns a dataset from statistics.gov.scot

Usage

1
ods_dataset(dataset, geography = NULL, ...)

Arguments

dataset

string. The identifying final part of a URI for a dataset on statistics.gov.scot.

geography

string. A valid SG geography code, or portion thereof.

...

Arbitrary filters requiring valid scheme = value structure.

Details

ods_dataset returns either a complete or filtered dataset from statistics.gov.scot. The dataset parameter must be passed a valid dataset name (a full list can be obtained by calling ods_all_datasets(). Other parameters can be used to filter the dataset.

Value

tibble. When invalid arguments are used returns NULL with warning (see ods_error_message).


DataScienceScotland/opendatascot documentation built on March 29, 2020, 5:25 a.m.