From 9959536378e6cafa3fa4b9a2cf62b9058f875131 Mon Sep 17 00:00:00 2001 From: Ben Varick Date: Tue, 5 Nov 2024 09:37:05 -0600 Subject: [PATCH] changed name to ltscount (from routeslts) to match cycling_route_analysis_brouter.Rmd --- cycling_route_analysis.Rmd | 3 ++- route_analysis.Rmd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cycling_route_analysis.Rmd b/cycling_route_analysis.Rmd index 10356b3..21df701 100644 --- a/cycling_route_analysis.Rmd +++ b/cycling_route_analysis.Rmd @@ -140,7 +140,7 @@ Notes: ## Combine routes with Bike LTS -```{r routeslts, eval = TRUE, echo = TRUE, results = "show", warning = FALSE, error = TRUE, message = FALSE} +```{r ltscount, eval = TRUE, echo = TRUE, results = "show", warning = FALSE, error = TRUE, message = FALSE} # Count the routes that intersect or overlap with each segment of the bike_tls network. # The intersections have a buffer of 20m @@ -150,6 +150,7 @@ bike_lts_buffer["student_use"] <- unlist(lapply(st_intersects(bike_lts_buffer, r bike_lts <- left_join(bike_lts, as.data.frame(bike_lts_buffer %>% select(OBJECTID, student_use)), by = "OBJECTID") ``` +Notes: for each segment in bike_lts, this counts how many student's calculated routes intersect with it (within a 20 m buffer) Notes: diff --git a/route_analysis.Rmd b/route_analysis.Rmd index fe2902b..35d189f 100644 --- a/route_analysis.Rmd +++ b/route_analysis.Rmd @@ -114,7 +114,7 @@ routes <- bind_rows(routes) ## Combine routes with Bike LTS -```{r routeslts, eval = TRUE, echo = TRUE, results = "show", warning = FALSE, error = TRUE, message = FALSE} +```{r ltscount, eval = TRUE, echo = TRUE, results = "show", warning = FALSE, error = TRUE, message = FALSE} # Count the routes that intersect or overlap with each segment of the bike_tls network. # The intersections have a buffer of 20m @@ -124,6 +124,7 @@ bike_lts_buffer["student_use"] <- unlist(lapply(st_intersects(bike_lts_buffer, r bike_lts <- left_join(bike_lts, as.data.frame(bike_lts_buffer %>% select(OBJECTID, student_use)), by = "OBJECTID") ``` +Notes: for each segment in bike_lts, this counts how many student's calculated routes intersect with it (within a 20 m buffer) # Make Maps