lottr {tpm}R Documentation

Calculate LOTTR Metric Score

Description

Calculate LOTTR given a RITIS NPMRDS export of travel time data. Data is passed in as the path to the csv containing the travel time readings.\ Travel time units must be seconds and averaging should be 15 minutes.

Usage

lottr(travel_time_readings = NULL, monthly = FALSE, verbose = FALSE)

Arguments

travel_time_readings

path to RITIS export CSV with 15-minute average readings for all vehicles

monthly

TRUE or FALSE specifies if the results should be aggregated by month. If FALSE scores will be computed by TMC for all data in the input file.

verbose

Provide diagnostic output and return all calculated values (necessary for hpms function)

Value

A data.table of LOTTR scores by TMC

Examples

## Not run: 
lottr("data/All_Vehicles/Readings.csv")
lottr("data/All_Vehicles/Readings.csv", monthly = TRUE)

## End(Not run)


[Package tpm version 2.0.2 Index]