PCUAddition: Incorporation Passenger Car Units to Traffic Count Data

Description Usage Arguments Value Author(s) Examples

Description

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.

Usage

1
PCUAddition(data, category1Unit, category2Unit, category3Unit, category4Unit)

Arguments

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.

Value

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.

Author(s)

RAC Foundation, Luke Hudlass-Galley

Examples

1
JanuaryDataWithPCU <- PCUAddition(JanuaryData, 1, 1.5, 2, 2.5)

RACFoundation/oneminutetrafficdata documentation built on May 28, 2019, 2:26 p.m.