Learn R Programming

bcdata (version 0.5.1)

bcdc_search_facets: 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")
)

Value

A data frame of values for the selected facet

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"

Examples

Run this code
# \donttest{
try(
  bcdc_search_facets("download_audience")
)

try(
  bcdc_search_facets("res_format")
)
# }

Run the code above in your browser using DataLab