process_join_counts_and_links | R Documentation |
Function to join counts, linkstats and network links. Data can be aggregated and filtered by time or mode.
process_join_counts_and_links(
counts,
network,
link_stats,
network_modes = c("car"),
aggr_to = c("day", "hour"),
earliest = 0,
latest = 86400
)
counts |
tibble of counts from read_counts |
network |
list with network nodes and links |
link_stats |
List with linkstats tibbles |
network_modes |
Vector with network modes that will be analyzed, default is "car". |
aggr_to |
Determines if data should be aggregated into hourly bins or as daily traffic volume, can either be "day" or "hour" |
earliest |
Integer. Lower limit to filter link stats by time, default = 0. |
latest |
Integer. Upper limit to filter link stats by time, default = 86400 (midnight). |
Long-format tibble with MATSim link id as key ("loc_id"), traffic volumes from MATSim runs and link type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.