check_geoattribute_geometry | R Documentation |
geoattribute
geometry instances.Get unrelated instances of a geoattribute
for a geometry.
check_geoattribute_geometry(db, dimension, attribute, geometry)
## S3 method for class 'star_database'
check_geoattribute_geometry(
db,
dimension = NULL,
attribute = NULL,
geometry = "polygon"
)
db |
A |
dimension |
A string, dimension name. |
attribute |
A vector, attribute names. |
geometry |
A string, geometry name ('point' or 'polygon'). |
We obtain the values of the dimension attribute that do not have an associated geographic element of the indicated geometry.
If there is only one geoattribute defined, neither the dimension nor the attribute must be indicated.
A tibble
.
Other star database geographic attributes:
define_geoattribute()
,
get_geoattribute_geometries()
,
get_geoattributes()
,
get_layer_geometry()
,
get_point_geometry()
,
summarize_layer()
db <- mrs_db |>
define_geoattribute(
dimension = "where",
attribute = "state",
from_layer = us_layer_state,
by = "STUSPS"
)
instances <- check_geoattribute_geometry(db,
dimension = "where",
attribute = "state")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.