From 96cbfb20960d6a7583714bdbcef85b88c773f597 Mon Sep 17 00:00:00 2001 From: Liz Roten Date: Thu, 28 Dec 2023 14:25:23 -0600 Subject: [PATCH] check traveler_attributes for truck mode --- R/create_streetlight_analysis.R | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/R/create_streetlight_analysis.R b/R/create_streetlight_analysis.R index f7b6120..0497fb4 100644 --- a/R/create_streetlight_analysis.R +++ b/R/create_streetlight_analysis.R @@ -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",