Get administrations
get_administrations( age = NULL, dataset_id = NULL, dataset_name = NULL, connection = NULL )
age | A numeric vector of a single age or a min age and max age (inclusive), in months |
---|---|
dataset_id | An integer vector of one or more dataset ids |
dataset_name | A character vector of one or more dataset names |
connection | A connection to the peekbank database |
A `tbl` of Administrations data, filtered down by supplied arguments. If `connection` is supplied, the result remains a remote query, otherwise it is retrieved into a local tibble.
if (FALSE) { get_administrations() get_administrations(age = c()) get_administrations(dataset_name = "pomper_saffran_2016") }