
Get the valid values for a facet (that you can use in bcdc_search())
Source: R/bcdc_search.R
bcdc_search_facets.RdGet 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")
)Examples
# \donttest{
try(
bcdc_search_facets("download_audience")
)
#> facet name
#> 1 download_audience Public
#> 2 download_audience Not downloadable
#> 3 download_audience Named users
#> 4 download_audience NA
#> 5 download_audience Government and Business BCeID
#> 6 download_audience Government
#> display_name count
#> 1 Public 2445
#> 2 Not downloadable 223
#> 3 Named users 60
#> 4 NA 163
#> 5 Government and Business BCeID 8
#> 6 Government 465
try(
bcdc_search_facets("res_format")
)
#> facet name display_name count
#> 1 res_format zip zip 35
#> 2 res_format xml xml 19
#> 3 res_format xlsx xlsx 711
#> 4 res_format xls xls 302
#> 5 res_format wmts wmts 1
#> 6 res_format wms wms 882
#> 7 res_format txt txt 31
#> 8 res_format shp shp 69
#> 9 res_format pdf pdf 202
#> 10 res_format other other 337
#> 11 res_format oracle_sde oracle_sde 461
#> 12 res_format openapi-json openapi-json 12
#> 13 res_format multiple multiple 1123
#> 14 res_format kmz kmz 30
#> 15 res_format kml kml 879
#> 16 res_format json json 12
#> 17 res_format html html 115
#> 18 res_format gpkg gpkg 22
#> 19 res_format geojson geojson 18
#> 20 res_format fgdb fgdb 95
#> 21 res_format csv csv 589
#> 22 res_format arcgis_rest arcgis_rest 164
# }