Description Usage Arguments Value Author(s) Examples
Motorway Incident Detection and Automatic Signalling (MIDAS) is a sensor based network along UK motorways, and is designed to collect data regarding traffic flows, average speeds and road occupancy, amongst other features, on the road network. This data can be accessed via the MIDAS website https://www.midas-data.org.uk/ (login required) in the form of .tcd.bz2 files.
The function DownloadCSV
is designed to download data found using the
RoadData into an appropriate .CSV format.
1 |
data |
The data that the user wishes to aggregate. |
A CSV file for each site is downloaded, with the naming convention of "X_DDMMMYYYY-DDMMMYYYY.csv", where "X" denotes the alphanumeric characters of the site's geographic address, "DD" denotes the start and end date days respectively, "MMM" denotes the month as three letters for the start and end date months respectively, and "YYYY" denotes the year for the start and end date years respectively.
RAC Foundation, Luke Hudlass-Galley
1 | DownloadCSV(trafficData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.