Created WI-schools-cycle.Rmd
This script loops through WI schools and computes the cycling route from each grid cell to school. These routes and grids are saved to rds objects to be analyzed in a separate script.
This commit is contained in:
parent
912e12de2d
commit
7d7a980400
2 changed files with 135 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -2,7 +2,7 @@ all: data containers cycle
|
|||
|
||||
data: osrm-data brouter-data
|
||||
containers: osrm-container brouter-container
|
||||
cycle: route_to_school
|
||||
cycle: WI-schools-cycle
|
||||
|
||||
walk: route_analysis.Rmd
|
||||
R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./route_analysis.Rmd", output_file = "./html/route_analysis.html")'
|
||||
|
@ -16,6 +16,9 @@ cycle_brouter: cycling_route_analysis_brouter.Rmd
|
|||
route_to_school: route_to_school.Rmd
|
||||
R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./route_to_school.Rmd", output_file = "./html/route_to_school.html")'
|
||||
|
||||
WI-schools-cycle: WI-schools-cycle.Rmd
|
||||
R -e 'library("rmarkdown"); old_path <- Sys.getenv("PATH"); Sys.setenv(PATH = paste(old_path, "/usr/local/bin", sep = ":")); rmarkdown::render(knit_root_dir = "./", output_dir = "./html", input = "./WI-schools-cycle.Rmd", output_file = "./html/WI-schools-cycle.html")'
|
||||
|
||||
osrm-container: ./docker/osrm/docker-compose.yml
|
||||
cd ./docker/osrm/; docker compose up -d
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue