Skip to content

Commit

Permalink
Merge pull request #150 from danieldegroot2/use-sidepath-typo
Browse files Browse the repository at this point in the history
Correct typo for Use Sidepath in oi_active_cycle.R
  • Loading branch information
Robinlovelace authored Jun 14, 2024
2 parents 3d2666d + 130fcd5 commit 076f549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/oi_active_cycle.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ oi_active_cycle = function(osm_sf, remove=FALSE){
access %in% c('private', 'no') ~ "no",

# Way must not bar cyclists
bicycle %in% c('no', 'private', 'ue_sidepath', 'restricted') ~ "no",
bicycle %in% c('no', 'private', 'use_sidepath', 'restricted') ~ "no",

# Way must not contain "private" within the service tag
grepl("private", service) ~ "no",
Expand All @@ -65,4 +65,4 @@ oi_active_cycle = function(osm_sf, remove=FALSE){
osm_sf_cycle = osm_sf_cycle %>% dplyr::filter(osm_sf_cycle$openinfra_cycle == "yes")
}
return(osm_sf_cycle)
}
}

0 comments on commit 076f549

Please sign in to comment.