Skip to content
Snippets Groups Projects
Commit f9e433e5 authored by Vaarre-Lamoureux, Kaysa S's avatar Vaarre-Lamoureux, Kaysa S
Browse files

update read me to reflect pop. density manual download

parent 18a0461f
No related branches found
No related tags found
1 merge request!90Add raster maps
...@@ -16,7 +16,7 @@ This project: ...@@ -16,7 +16,7 @@ This project:
## Running the targets pipeline in R ## Running the targets pipeline in R
Clone the repo. In RStudio, run `library(targets)` and `tar_make()`. This will require `tidycensus` and `sciencebase` credentialing to run, see instructions below. Clone the repo. In RStudio, run `library(targets)` and `tar_make()`. This will require `tidycensus`, `sciencebase`, and `NASA Earthdata` credentialing to run, see instructions below.
## `tidycensus` set up ## `tidycensus` set up
...@@ -47,6 +47,16 @@ To access controlled ScienceBase items, an additional step must be completed to ...@@ -47,6 +47,16 @@ To access controlled ScienceBase items, an additional step must be completed to
Once the above steps are complete, `initialize_and_cache_sb()` will cache your username and token into the .Renviron file. From here, the pipeline should be able to use those cached credentials to re-initialize and refresh ScienceBase sessions in different R sessions for up to 10 hours. Once the above steps are complete, `initialize_and_cache_sb()` will cache your username and token into the .Renviron file. From here, the pipeline should be able to use those cached credentials to re-initialize and refresh ScienceBase sessions in different R sessions for up to 10 hours.
## NASA Earthdata
Population density data must be manually downloaded from <https://sedac.ciesin.columbia.edu/data/set/gpw-v4-population-count-rev11/data-download>. You will be prompted to login to a NASA Earthdata account. If you do not have one, you will need to create one. Once logged in, use these selections:
- Temporal: Single Year
- FileFormat: GeoTiff
- Resolution: 30 second
- File Select: Year 2020
Download the zip in the `1_process/in/` folder.
## Building the website locally ## Building the website locally
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment