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 PCUAddition
allows the user to add a "passenger car unit" column
to the data collected in the RoadData, with user defined values for
each of the four vehicle categories.
1 | PCUAddition(data, category1Unit, category2Unit, category3Unit, category4Unit)
|
data |
The data that the user wishes to aggregate. |
category1 |
Numeric; the user-selected PCU value for category 1 of vehicles in MIDAS data. |
category2 |
Numeric; the user-selected PCU value for category 2 of vehicles in MIDAS data. |
category3 |
Numeric; the user-selected PCU value for category 3 of vehicles in MIDAS data. |
category4 |
Numeric; the user-selected PCU value for category 4 of vehicles in MIDAS data. |
A version of the format of data
, where additional data has been added in the form of
a column at the end of the data, denoting the PCU value for each row of data
.
RAC Foundation, Luke Hudlass-Galley
1 | JanuaryDataWithPCU <- PCUAddition(JanuaryData, 1, 1.5, 2, 2.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.