addDescMIDAS: adds a description of the loop detector location

Description Usage Arguments Value Examples

Description

extracts the name of the road/location/code/direction of each loop detector in the 'midas' object

Usage

1
2
addDescMIDAS(x, geo.address = "Geographic.Address")
	

Arguments

x

object of class 'midas'

geo.address

character. name of the geographic address columns. Default to "Geographic.Address"

Value

'midas' object with 4 columns added to the traffic.data element. These are the road at which the loop detector is installed, the location (onramp/offramp/mainline), the direction (anticlockwise/clockwise), and the code of each corresponding geographic address which would help in route identification

Examples

1
2
3
4
5
## Not run: 
#md is a one .csv data set you've downloaded
ex <- addDescMIDAS(x = md)

## End(Not run)

arwasayegh/mdep documentation built on May 20, 2019, 1:27 p.m.