geodimension {geodimension} | R Documentation |
geodimension
S3 class
Description
A geodimension
object is created. A geodimension
allows us to relate
levels. In addition to the name of the geodimension
, a level
has to be
given.
Usage
geodimension(name = NULL, level = NULL, snake_case = FALSE)
Arguments
name |
A string, name of the dimension. |
level |
A |
snake_case |
A boolean, transform all names to snake_case. |
Value
A geodimension
object.
See Also
geolevel
, relate_levels
, get_level_layer
Other geodimension definition functions:
add_level()
,
set_level_data()
,
transform_crs()
Examples
layer_us_place <- get_level_layer(gd_us, "place")
place <-
geolevel(name = "place",
layer = layer_us_place,
key = "geoid")
gd <-
geodimension(name = "gd_us",
level = place)
[Package geodimension version 2.0.0 Index]