enrich_traffic: Enrich traffic data with date features, names and uptime filters.
Description
This function add day, weekday, hour, segment_name and full_name and uptime quality boolean.
This function is already used by the data retrievement process.
Usage
enrich_traffic(data)
Value
Same dataframe with additionnal informations : day, hour, weekday, holiday, vacation, segment_name, uptime_quality
Arguments
data
Raw data frame from the Telraam API, imported through the package.