Skip to contents

Loads a linkstats tsv file created from the LinkStats class as a dataframe into memory. Counts can be provided in any time bin. Counts can be provided for any qsim mode. The argument network_modes is used to select and filter the columns.

Usage

read_linkstats(run_ID, input_path, sample_size = 0.25)

Arguments

run_ID

character string, ID to tag columns with DTV

input_path

character string, file path to the .csv or .tsv file. Must be comma separated.

sample_size

optional, double, sample size of the MATSim scenario to scale DTV values, standard value is 0.25

Value

Tibble with link stats for each qsim mode