View source: R/plot_car_speed.R
preprocess_car_speed | R Documentation |
Preprocessing mandatory for car speed graphs functions
preprocess_car_speed(
enriched_data,
aggregated_by,
date_range,
segments,
weekday,
hours
)
enriched_data |
enriched data.frame containing all the data for all your sensors |
aggregated_by |
Character. Enables comparison with other segments or weekdays. Options are : 'segment_name', 'weekday'. |
date_range |
Date vector. Example: c('2021-01-01','2022-01-01'). |
segments |
Character vector. Selected road segment. |
weekday |
Character vector. Weekday choosen. |
hours |
Integer vector. Hours choosen. |
list of parameters and data preprocessed.
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.