R/list_resources.R
list_resources.RdProvides an overview of all resources available from opendata.nhs.scot, with the option to limit results based on both dataset and resource names. The returned tibble can be used to look-up dataset and resource ids, and is useful for exploring the available data sets.
list_resources(
dataset_contains = NULL,
resource_contains = NULL,
dataset_name = lifecycle::deprecated()
)A character string containing an expression to be used as search criteria against the dataset name.
A character string containing a regular expression to be matched against available resource names.
Deprecated. Use dataset_contains instead.
A tibble containing details of all available datasets and
resources, or those containing the string specified in the
dataset_contains and resource_contains arguments.
if (FALSE) { # \dontrun{
list_resources()
list_resources(dataset_contains = "standard-populations")
list_resources(
dataset_contains = "standard-populations", resource_contains = "European"
)
} # }