Fetches the full City of Vancouver Open Data catalogue and returns it as a tibble. Results are cached for the duration of the R session; subsequent calls return the cached copy unless `refresh = TRUE`.

list_cov_datasets(
  trim = TRUE,
  apikey = getOption("VancouverOpenDataApiKey"),
  refresh = FALSE
)

Arguments

trim

Remove columns that are entirely `NA`, default `TRUE`

apikey

the CoV open data API key, optional

refresh

Bypass the session cache and re-download, default `FALSE`

Value

A tibble with one row per dataset. The first four columns are always `dataset_id`, `title`, `keyword`, and `search-term`; remaining columns contain catalogue metadata (trimmed to non-empty columns when `trim = TRUE`).

See also

[search_cov_datasets()] to filter the catalogue by a search term, [get_cov_data()] to download a specific dataset

Examples

if (FALSE) { # \dontrun{
list_cov_datasets()
} # }