powered by
Preprocessing mandatory for car speed graphs functions
preprocess_car_speed( enriched_data, aggregated_by, date_range, segments, weekday, hours )
list of parameters and data preprocessed.
enriched data.frame containing all the data for all your sensors
Character. Enables comparison with other segments or weekdays. Options are : 'segment_name', 'weekday'.
Date vector. Example: c('2021-01-01','2022-01-01').
Character vector. Selected road segment.
Character vector. Weekday choosen.
Integer vector. Hours choosen.
preprocess_car_speed(traffic, date_range = c('2022-01-01','2022-03-01'), segments = 'RteVitre-06', weekday = c('monday','sunday'), hours = 17:20, aggregated_by = "weekday")
Run the code above in your browser using DataLab