Metropolitan-Council / tc.sensors

Package with functions to pull sensor data, sensor IDs, and sensor configuration for MnDOT metro district
https://metropolitan-council.github.io/tc.sensors
Other
1 stars 0 forks source link

Calculate vehicle miles traveled (VMT) function + vignette #8

Closed eroten closed 3 years ago

eroten commented 4 years ago

Write function for calculating VMT from pull_sensor() output.

eroten commented 3 years ago

VMT is calculated by multiplying the total volume over a given time interval and the distance from one station to the next. Calculating speed can be somewhat tricky (see #10), so, for now, calculating VMT is not calculated in any function.