This function retrieves an attribute with a raster resolution of 1 hectare. 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_100m_attribute(attribute, as_raster = TRUE, data_location = NULL)

Arguments

attribute

attribute name as definded in z11::z11_list_100m_attributes

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

Value

Raster or sf