Search for CoV open data datasets

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

Arguments

search_term

grep string to serach through datasets

trim

trim all NA columns, optional, defaul `TRUE`

apikey

the CoV open data API key, optional

refresh

refresh cached data, default `FALSE``

Value

tibble format data table output

Examples

# search available datasets relating to trees search_cov_datasets("trees")
#> # A tibble: 2 x 17 #> dataset_id title keyword `search-term` datasetid `data-owner` `data-team` #> <chr> <chr> <chr> <chr> <chr> <chr> <chr> #> 1 street-tr… Stre… NA street trees… street-t… City of Van… Vancouver … #> 2 community… Comm… NA community, g… communit… City of Van… Arts, Cult… #> # … with 10 more variables: description <chr>, theme <chr>, license <chr>, #> # license_url <chr>, modified <chr>, data_processed <chr>, #> # metadata_processed <chr>, publisher <chr>, records_count <chr>, #> # federated <chr>