Create a streetlight analysis
create_streetlight_analysis(
login_email = your_email,
analysis_type = "Zone_Activity_Analysis",
analysis_name = "{your_name}",
travel_mode_type = "All_Vehicles",
output_type = "Volume",
origin_zone_set = name,
date_ranges = list(
start_date = "05/01/2021",
end_date = "08/31/2021"
),
tags = list("streetlightR"),
traveler_attributes = FALSE,
trip_attributes = FALSE
)
Check status and download results
check_analysis_status(
analysis_name = name,
)
results <- get_analysis_data(
analysis_name = name,
metric = "za_all"
)
results