bcdc_search_facets: Get the valid values for a facet (that you can use in...

View source: R/bcdc_search.R

bcdc_search_facetsR Documentation

Get the valid values for a facet (that you can use in bcdc_search())

Description

Get the valid values for a facet (that you can use in bcdc_search())

Usage

bcdc_search_facets(
  facet = c("license_id", "download_audience", "res_format", "publish_state",
    "organization", "groups")
)

Arguments

facet

the facet(s) for which to retrieve valid values. Can be one or more of: ⁠"license_id", "download_audience", "res_format", "publish_state", "organization", "groups"⁠

Value

A data frame of values for the selected facet

Examples


try(
  bcdc_search_facets("download_audience")
)

try(
  bcdc_search_facets("res_format")
)


bcgov/bcdc documentation built on April 13, 2025, 2:49 p.m.