bcdc_search_facets {bcdata}R 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", "sector", "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", "sector", "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")
)


[Package bcdata version 0.4.1 Index]