Skip to content

Commit

Permalink
replace hyphen by whitespace again
Browse files Browse the repository at this point in the history
  • Loading branch information
jannes committed Oct 7, 2024
1 parent 7aec3d0 commit 2ee5807
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _14-ex.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2ee5807

Please sign in to comment.