103 Commits

Author SHA1 Message Date
syounkin
5c12c14f8d Bug fix in WI-schools-cycle.Rmd 2024-11-21 15:13:37 -06:00
syounkin
0c9b3e070f Update to WI-schools-cycle.Rmd
Trying to get through all grade 9-12 schools in WI. Some schools have no routes, no coordinates, etc. Working my way through all the special cases.
2024-11-21 14:48:22 -06:00
syounkin
7d7a980400 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.
2024-11-21 11:32:27 -06:00
syounkin
912e12de2d Merge branch 'main' into sgy 2024-11-20 09:52:58 -06:00
syounkin
afc6257b61 Minor updates to route_to_school.Rmd 2024-11-20 09:51:08 -06:00
2d1d432710
edited example png for cycling routes 2024-11-14 17:55:34 -06:00
01a4270d2b
added shortest brouter profile
add download safest profile from source repo

other small edits to clean up code
2024-11-14 17:53:00 -06:00
syounkin
099d94359c Updates to route_to_school.Rmd 2024-11-13 17:15:51 -06:00
syounkin
348608fc5a Updates to route_to_school.Rmd 2024-11-13 14:24:15 -06:00
syounkin
d1b1fd0253 Created route_to_school.Rmd
This script is a spin-off of cycle_route_analysis_brouter.Rmd.
2024-11-13 14:00:07 -06:00
bvarick
39d86edb1a
Merge pull request #17 from syounkin/sgy
Added Exploratory Code to Appendix
2024-11-11 10:48:02 -06:00
syounkin
46f67bb15f Update to New Code in the Appendix 2024-11-08 14:13:28 -06:00
syounkin
dfe33b953f Added Exploratory Code to Appendix
Trying to get route-level statistics plotted over a grid.
2024-11-08 12:45:36 -06:00
bvarick
42c7df44fe
Merge pull request #16 from syounkin/sgy
Created an archive directory
create R/function.R
organize cycle_route_analysis_brouter.Rmd
2024-11-07 14:06:52 -06:00
syounkin
57b46664ef Stopped ignoring functions.R 2024-11-07 13:40:00 -06:00
syounkin
1843fd3e44 More Organization of cycle_route_analysis_brouter.Rmd 2024-11-07 13:37:00 -06:00
syounkin
41d87517d8 Organized cycle_route_analysis_brouter.Rmd
Added some notes. Divided up some chunks.
2024-11-07 12:43:30 -06:00
syounkin
34fa374de5 Added cycling_route_analysis.Rmd to archive/ 2024-11-07 12:23:08 -06:00
syounkin
fda6ee6d95 Removed archive/.gitignore 2024-11-07 12:11:03 -06:00
syounkin
ecd62d5a3c Correction to archive/.gitignore 2024-11-07 12:08:30 -06:00
syounkin
dde9ece09f Update to Makefile 2024-11-07 12:01:03 -06:00
syounkin
897856716b Merge branch 'main' into sgy 2024-11-07 10:34:16 -06:00
Ben Varick
23dea9b2db
Merge branch 'syounkin-sgy'
Resolved a Couple of Errors
2024-11-07 10:31:39 -06:00
syounkin
372d765f2f Created archive directory
Moved cycling_route_analysis.Rmd to archive/
2024-11-07 10:29:55 -06:00
syounkin
ba5c5c9c29 Created runTLS flag
runTLS is a boolean variable that controls whether the ltscount chunk is evaluated
2024-11-07 10:28:42 -06:00
syounkin
3a90407738 Fixed bug on lines 246-247
route.lts -> route and route.geometry -> route
2024-11-07 09:58:34 -06:00
syounkin
14a097fe9e Moved basemap chunk
Code in routeslts called basemap before it was defined. To correct this the basemap chunk was moved up in the script.
2024-11-06 16:48:21 -06:00
syounkin
3025cadc39 Update to Makefile
Added all, data, containers, and cycle. Included an rm -rf in brouter-data. Previously an error was thrown when trying to clone when the directory already exists.
2024-11-06 16:45:45 -06:00
Ben Varick
21905af23a
edited routelts and new map of routes 2024-11-06 14:48:37 -06:00
Ben Varick
e6614977c3
added new route by route analysis 2024-11-06 09:18:02 -06:00
Ben Varick
4c98d5a68d
new example figure with safety profile, edited README 2024-11-06 08:13:53 -06:00
Ben Varick
bd3b74d430
Added safety profile to brouter and script 2024-11-06 07:51:42 -06:00
Ben Varick
1fb35a818a
edited typo in Makefile
replaced `docker run -rm` with `docker run --rm`
2024-11-05 12:33:21 -06:00
Ben Varick
df4d1d9d25
remove containers after preprocessing commands
adds -rm to docker run commands so that they are removed after the command completes
2024-11-05 12:24:59 -06:00
Ben Varick
74b9c10f7d
changed title of map 2024-11-05 12:21:05 -06:00
Ben Varick
c03d4df0a7
set crs explicitly for all data imports. 2024-11-05 12:19:00 -06:00
Ben Varick
7e6eb9c45b
Added new analysis: calculate the maximum and average lts for the route for each address and plot them on the map of addresses. This analysis takes a while, so I parallelized it. I also set eval=FALSE because it takes so long. 2024-11-05 12:00:55 -06:00
Ben Varick
338e608d92
edited examples and readme with new figures 2024-11-05 09:55:03 -06:00
Ben Varick
4330687ed2
edited typo 2024-11-05 09:46:03 -06:00
Ben Varick
9959536378
changed name to ltscount (from routeslts) to match cycling_route_analysis_brouter.Rmd 2024-11-05 09:37:05 -06:00
Ben Varick
b19add99ac
fixed erroneous join 2024-11-05 09:35:37 -06:00
Ben Varick
1f27a017af
edited .gitignore 2024-11-05 09:34:30 -06:00
Ben Varick
6600f0cd74
Fixed erroneous join with bike_lts, added new chunk for calculating average lts per address 2024-11-05 09:33:46 -06:00
Ben Varick
d559b8605e
added 'student_number' to routes data table 2024-11-05 09:07:18 -06:00
Ben Varick
acf70cc6d2
adjust brouter url variable names 2024-11-05 09:00:58 -06:00
Ben Varick
ef51272a69
added brouter to readme intro 2024-11-05 08:27:07 -06:00
Ben Varick
dd36d8b957
added top level .html files to .gitignore
and edited a note in cycling_route_analysis_brouter.Rmd
2024-11-05 08:15:00 -06:00
Ben Varick
fe88172a3b
edited typo in Makefile 2024-11-05 07:59:38 -06:00
Ben Varick
378c991c6d
added docker-compose to brouter docker directory 2024-11-05 07:53:23 -06:00
Ben Varick
104f215a0e
Edited .gitignore, edited README, edited Makefile
to include new brouter make commands
2024-11-05 07:52:14 -06:00