Skip to contents

Read (multiple) datasets by id

Usage

read_dataset_ids(ids, return_caveats = FALSE, tidy_data = TRUE)

Arguments

ids

id of the dataset. See get_datasets().

return_caveats

A logical. Whether or not to return the caveats for this data in a separate table. If TRUE, this will return a list with the two tables.

tidy_data

A logical. Whether or not to tidy the data (rename columns and remove columns which only have one unique value).

Value

data

Examples

if (FALSE) { # interactive() && curl::has_internet()
read_dataset_ids(c(1, 2))
}