Traffic and Weather Datasets
The PeMS traffic datasets have been collected by the California Transportation (Caltrans) agency for 30-second granularity, and the raw and aggregated data are publicly available on their website (https://pems.dot.ca.gov/?dnode=Clearinghouse&type=meta&district_id=7&submit=Submit). We have gathered 5-minute aggregated vehicular traffic state (i.e traffic speed) dataset for district four and seven of California for 2022. We have used Bing Distance Matrix API to compute a driving distance between each sensor. The API can be used to compute a driving distance between a single source or multiple sources and source or multiple destinations at once. In addition, the weather datasets have been collected from https://www.visualcrossing.com/weather/weather-data-services and the datasets have one-hour granularity, and we have only removed some of the unnecessary columns.