diff --git a/_14-ex.Rmd b/_14-ex.Rmd index 3b571fb85..5aac9a907 100644 --- a/_14-ex.Rmd +++ b/_14-ex.Rmd @@ -14,7 +14,7 @@ library(spDataLarge) E1. Download the csv file containing inhabitant information for a 100 m cell resolution (https://www.zensus2011.de/SharedDocs/Downloads/DE/Pressemitteilung/DemografischeGrunddaten/csv_Bevoelkerung_100m_Gitter.zip?__blob=publicationFile&v=3). Please note that the unzipped file has a size of 1.23 GB. To read it into R, you can use `readr::read_csv`. -This takes 30 seconds on a machine with 16-GB RAM. +This takes 30 seconds on a machine with 16 GB RAM. `data.table::fread()` might be even faster, and returns an object of class `data.table()`. Use `dplyr::as_tibble()` to convert it into a tibble. Build an inhabitant raster, aggregate it to a cell resolution of 1 km, and compare the difference with the inhabitant raster (`inh`) we have created using class mean values.