#> 2 LGL_ADMIN_AREA_ID TRUE xsd:decimal numeric "An operationally-generated uniqu…
#> 3 ADMIN_AREA_NAME FALSE xsd:string character "The authoritative, officially ap…
#> 4 ADMIN_AREA_ABBREVIATION FALSE xsd:string character "A short form or commonly-known a…
#> 5 ADMIN_AREA_BOUNDARY_TYPE FALSE xsd:string character "BOUNDARY TYPE is a high-level gr…
#> 6 ADMIN_AREA_GROUP_NAME FALSE xsd:string character "The name given to the larger adm…
#> 7 CHANGE_REQUESTED_ORG FALSE xsd:string character "The government acronym of the Mi…
#> 8 UPDATE_TYPE FALSE xsd:string character "A short description of the lates…
#> 9 WHEN_UPDATED FALSE xsd:date date "The date and time the record was…
#> 10 MAP_STATUS FALSE xsd:string character "That the digital map has been ap…
#> # ℹ 11 more rows
## Get the Capital Regional District polygon from the B.C. Regional
## Districts geospatial data
my_regional_district <- bcdc_query_geodata(bc_regional_districts_metadata) %>%
filter(ADMIN_AREA_NAME == "Capital Regional District") %>%
collect()
## Plot the Capital Regional District polygon with ggplot()
my_regional_district %>%
ggplot() +
geom_sf() +
theme_minimal()
```
The vignette [Querying Spatial Data with bcdata](https://bcgov.github.io/bcdata/articles/efficiently-query-spatial-data-in-the-bc-data-catalogue.html) provides a full demonstration on how to use `bcdata::bcdc_query_geodata()` to fine tune a [Web Feature Service](https://www2.gov.bc.ca/gov/content?id=95D78D544B244F34B89223EF069DF74E) request for geospatial data from the B.C. Data Catalogue.