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")
Run the code above in your browser using DataLab