View source: R/geomultistar_get_empty_geoinstances.R
get_empty_geoinstances | R Documentation |
Gets the instances of the given geographic attribute that do not have a geometry associated with them.
get_empty_geoinstances(gms, dimension = NULL, attribute = NULL)
## S3 method for class 'geomultistar'
get_empty_geoinstances(gms, dimension = NULL, attribute = NULL)
gms |
A |
dimension |
A string, dimension name. |
attribute |
A string, attribute name. |
A sf
object.
Other geo functions:
define_geoattribute()
,
geomultistar()
,
run_geoquery()
gms <- geomultistar(ms = ms_mrs, geodimension = "where") |>
define_geoattribute(
attribute = "city",
from_layer = usa_cities,
by = c("city" = "city", "state" = "state")
)
empty <- gms |>
get_empty_geoinstances(attribute = "city")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.