View source: R/list_resources.R
| list_resources | R Documentation |
Provides 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()
)
dataset_contains |
A character string containing an expression to be used as search criteria against the dataset name. |
resource_contains |
A character string containing a regular expression to be matched against available resource names. |
dataset_name |
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.
## Not run:
list_resources()
list_resources(dataset_contains = "standard-populations")
list_resources(
dataset_contains = "standard-populations", resource_contains = "European"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.