get_higher_level_names | R Documentation |
Get the names of levels included in the geodimension
that are related to the
given level and are upper levels. We can get only the direct levels or the
levels reached by passing through other levels.
get_higher_level_names(gd, level_name, indirect_levels)
## S3 method for class 'geodimension'
get_higher_level_names(gd, level_name = NULL, indirect_levels = FALSE)
gd |
A |
level_name |
A string. |
indirect_levels |
A boolean. |
A vector of names.
geodimension
, geolevel
Other information gathering functions:
get_level_data_geo()
,
get_level_data()
,
get_level_geometries()
,
get_level_layer()
,
get_level_names()
ln_1 <- gd_us |>
get_higher_level_names(level_name = "place")
ln_2 <- gd_us |>
get_higher_level_names(level_name = "place", indirect_levels = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.