Description Usage Arguments Value See Also Examples
extracts number of lanes of the road at which loop detectors located
1 2 3 | laneNrMIDAS(x, geo.address = "Geographic.Address", lane.nr = "Number.of.Lanes",
direction.info = "direction", location.info = "location",
traffic.bound = NULL)
|
x |
object of class 'midas' |
geo.address, lane.nr, direction.info, location.info |
character. column names of the geographic address, number of lanes, direction, and location. Default to "Geographic.Address", "Number.of.Lanes", "direction", and "location", respectively check addDescMIDAS |
traffic.bound |
(optional) character. if midas object has only anticlockwise traffic data then set to anticlockwise to order the dataframe from start point to end point (because the code numbers for both directions are the same). |
dataframe of four columns (geographic address, direction of the geographic address, location of the geographic address, and number of lanes for the corresponding geographic address)
addDescMIDAS, routeMIDAS
1 2 3 4 5 6 | ## Not run:
#md is a one .csv data set you've downloaded
ex <- addDescMIDAS(x = md)
l <- laneNrMIDAS(x = ex)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.