Skip to content

Commit

Permalink
'restructureData' - correct reference to cycleway speed and capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
StevePem committed May 31, 2024
1 parent acd4512 commit c5acf4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/restructureData.R
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ restructureData <- function(networkList, highway_lookup,
bikepaths <- links %>%
filter(uid %in% bikepath_uids) %>%
mutate(highway_order = 16) %>%
mutate(freespeed=defaults_df$freespeed[15]) %>%
mutate(laneCapacity=defaults_df$laneCapacity[15]) %>%
mutate(freespeed=defaults_df$freespeed[16]) %>%
mutate(laneCapacity=defaults_df$laneCapacity[16]) %>%
mutate(is_car=0) %>%
mutate(permlanes=1) %>% # bikepaths are assumed sinlge lane
mutate(is_oneway=0) %>% # bikepaths are assumed bi-directional
Expand Down

0 comments on commit c5acf4d

Please sign in to comment.