Check if the specified set of attributes can be the key of the table.
See also
Other geolevel definition functions:
add_geometry()
,
complete_point_geometry()
,
coordinates_to_geometry()
,
geolevel()
,
get_empty_geometry_instances()
,
get_geometry()
Examples
layer_us_county <- get_level_layer(gd_us, "county")
is_key <- check_key(layer_us_county, key = c("statefp", "name"))