Description Usage Arguments Value
View source: R/census_linking_simple.R
This function performs spatial linking based on coordinates data and raster grid cell data from the German Census 2011. By default it uses simulated coordinates data for demonstration purposes. Own coordinates, however, can be used as well.
1 2 3 4 5 | census_linking_simple(download = FALSE, own.data = FALSE,
which = c("Einwohner", "Frauen_A", "Alter_D", "unter18_A", "ab65_A",
"Auslaender_A", "HHGroesse_D", "Leerstandsquote", "Wohnfl_Bew_D",
"Wohnfl_Whg_D"), categorical = FALSE, set.missings = TRUE,
data.path = ".", coords.file = "", coords.object = "", suffix = "")
|
download |
Download census data (calls
|
own.data |
Use own already downloaded census data (calls
|
which |
Vector of Census attributeses that should be linked to the data |
data.path |
Has to be defined when using option |
coords.file |
Path to file with coordinates; must be formatted as csv text file with a 'X' andheader... |
coords.object |
An R object ("Rdata" or "rda") containing the coordinates |
set.missing |
Toggle whether to set missings on Census attributes |
A data.frame
with census attributes for each coordinate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.