From dfb0f555eed29279e49abdf56111140ea8403c4f Mon Sep 17 00:00:00 2001 From: jannes Date: Fri, 4 Oct 2024 23:28:00 +0200 Subject: [PATCH] add hyphen --- _14-ex.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_14-ex.Rmd b/_14-ex.Rmd index 5aac9a907..3b571fb85 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.