
Get the valid values for a facet (that you can use in bcdc_search()
)
Source: R/bcdc_search.R
bcdc_search_facets.Rd
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")
)
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 2331
#> 2 Not downloadable 228
#> 3 Named users 75
#> 4 NA 189
#> 5 Government and Business BCeID 8
#> 6 Government 565
try(
bcdc_search_facets("res_format")
)
#> facet name display_name count
#> 1 res_format zip zip 34
#> 2 res_format xml xml 20
#> 3 res_format xlsx xlsx 666
#> 4 res_format xls xls 305
#> 5 res_format wmts wmts 1
#> 6 res_format wms wms 862
#> 7 res_format txt txt 30
#> 8 res_format shp shp 58
#> 9 res_format pdf pdf 184
#> 10 res_format other other 384
#> 11 res_format oracle_sde oracle_sde 525
#> 12 res_format openapi-json openapi-json 11
#> 13 res_format multiple multiple 1096
#> 14 res_format kmz kmz 31
#> 15 res_format kml kml 861
#> 16 res_format json json 12
#> 17 res_format html html 104
#> 18 res_format gpkg gpkg 22
#> 19 res_format geojson geojson 17
#> 20 res_format fgdb fgdb 94
#> 21 res_format csv csv 568
#> 22 res_format arcgis_rest arcgis_rest 143
# }