bcdc_search: Search the B.C. Data Catalogue

View source: R/bcdc_search.R

bcdc_searchR Documentation

Search the B.C. Data Catalogue

Description

Search the B.C. Data Catalogue

Usage

bcdc_search(
  ...,
  license_id = NULL,
  download_audience = NULL,
  res_format = NULL,
  sector = NULL,
  organization = NULL,
  groups = NULL,
  n = 100
)

Arguments

...

search terms

license_id

the type of license (see bcdc_search_facets("license_id")).

download_audience

download audience (see bcdc_search_facets("download_audience")). Default NULL (all audiences).

res_format

format of resource (see bcdc_search_facets("res_format"))

sector

sector of government from which the data comes (see bcdc_search_facets("sector"))

organization

government organization that manages the data (see bcdc_search_facets("organization"))

groups

collections of datasets for a particular project or on a particular theme (see bcdc_search_facets("groups"))

n

number of results to return. Default 100

Value

A list containing the records that match the search

Examples


try(
  bcdc_search("forest")
)

try(
  bcdc_search("regional district", res_format = "fgdb")
)

try(
  bcdc_search("angling", groups = "bc-tourism")
)


bcdata documentation built on March 31, 2023, 8:10 p.m.