z11_get_1km_attribute: Retrieve 1km^2 attribute of the German Census 2011

View source: R/z11_get_1km_attribute.R

z11_get_1km_attributeR Documentation

Retrieve 1km^2 attribute of the German Census 2011

Description

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.

Usage

z11_get_1km_attribute(attribute, as_raster = TRUE, data_location = NULL)

Arguments

attribute

attribute name as definded in z11::z11_list_1km_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


StefanJuenger/z11 documentation built on July 7, 2022, 2:39 p.m.