Skip to content

Commit

Permalink
check traveler_attributes for truck mode
Browse files Browse the repository at this point in the history
  • Loading branch information
eroten committed Dec 28, 2023
1 parent da9dcf0 commit 96cbfb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/create_streetlight_analysis.R
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,9 @@ create_streetlight_analysis <- function(
zone_list
)

if ((travel_mode_type == "All_Vehicles_CVD_Plus" |
if (
(travel_mode_type %in% c("All_Vehicles_CVD_Plus",
"Truck") |
!analysis_type %in% c(
"Zone_Activity_Analysis",
"OD_Analysis",
Expand Down

0 comments on commit 96cbfb2

Please sign in to comment.