View source: R/z11_get_1km_attribute.R
z11_get_1km_attribute | R Documentation |
This function retrieves an attribute with a raster resolution of 1km². You
can either choose to have it converted directly into the raster format
(default) or you can return it as a sf
tibble object with point
geometries.
z11_get_1km_attribute(attribute, as_raster = TRUE, data_location = NULL)
attribute |
attribute name as definded in
|
as_raster |
logical; shall the attribute be returned as raster or sf object |
data_location |
character string; location of the downloaded census data from https://github.com/StefanJuenger/z11data; default is NULL - data are downloaded from the internet |
Raster or sf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.