Conducts a spatial join to retrieve spatial features that are topologically associated (intersects, contains, within, etc.) with the provided bounds.
1 2 | filter_spatial(mapdata, bbox, agr_type = "constant",
topo = sf::st_intersects)
|
mapdata |
The sf object containing the spatial data. |
bbox |
Bounding box. |
agr_type |
Inherited attribute-geometry-relationship type from plot_GCAM function params. |
topo |
SF topologic function to define how the join will be conducted. Default is to join any feature that intersects the bounding box. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.