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 RushHourFunction
allows the user to either remove or isolate the
rush hour periods, defined from 07:30 - 09:30 and 16:00 - 18:00 each day.
1 | SelectRushHour(data, isolate)
|
data |
The data that the user wishes to isolate or remove the rush hour data from. |
isolate |
A paramater, which if equal to TRUE, will return just the rush hour data. If set to FALSE, it will return the data that is not during rush hour. |
A version of the format of data
, either with just the rush hour data or
just the data that is not during rush hour, depending on if the isolate
parameter
is set to TRUE or FALSE respectively.
RAC Foundation, Luke Hudlass-Galley
1 | M25DataRushHour <- SelectRushHour(M25Data, isolate = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.