Skip to contents

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

# \donttest{
try(
  bcdc_search_facets("res_format")
)
#>         facet count display_name         name
#> 1  res_format    29          zip          zip
#> 2  res_format    20          xml          xml
#> 3  res_format   606         xlsx         xlsx
#> 4  res_format   304          xls          xls
#> 5  res_format   854          wms          wms
#> 6  res_format    29          txt          txt
#> 7  res_format   352          shp          shp
#> 8  res_format   160          pdf          pdf
#> 9  res_format    62        other        other
#> 10 res_format   473   oracle_sde   oracle_sde
#> 11 res_format    11 openapi-json openapi-json
#> 12 res_format  1108     multiple     multiple
#> 13 res_format    29          kmz          kmz
#> 14 res_format   860          kml          kml
#> 15 res_format    11         json         json
#> 16 res_format    86         html         html
#> 17 res_format    13         gpkg         gpkg
#> 18 res_format    17      geojson      geojson
#> 19 res_format   347         fgdb         fgdb
#> 20 res_format   302          e00          e00
#> 21 res_format   539          csv          csv
#> 22 res_format   112  arcgis_rest  arcgis_rest
# }