Skip to contents

All functions

generateXYHexagonYaml()
Creates/adds XY hexagon definition of output trips to a summary dashboard
readCounts() loadNetwork() readPersonsTable() boxplotScoreDifferences() plotModalSplitPieChart() plotModalSplitBarChart() readTripsTable() plotAverageTravelWait() compareAverageTravelWait() plotModalDistanceDistribution() compareModalDistanceDistribution() plotTripDistanceByMode() plotTripCountByDepTime() plotActivityEndTimes() plotArrivalTimesPerTripPurpose() plotDepartureTimesPerTripPurpose() plotTripDistancedByType() plotModalShiftSankey() plotModalShiftBar() plotMapWithFilteredTrips() plotMapWithTrips() plotTripTypesPieChart() compareTripTypesBarChart() plotMapWithTripsType() compareBasePolicyOutput() compareBasePolicyShapeOutput() appendDistanceCategory() filterByRegion() deriveODMatrix() getCrsFromConfig() transformToSf() plotStartActCountByDepTime()
Deprecated Function
plot_arrtime_by_act()
Create a line plot of arrival time by activity
plot_compare_count_by_spatialcat_barchart()
Plot comparison bar chart of count by spatial category
plot_compare_distcat_by_mainmode_barchart()
Create a bar chart comparing distance traveled on x-axis and number of trips on y-axis for two different runs Takes two tibbles from read_output_trips, categorizes the traveled distances into pre-defined bins and plots the difference in number of trips for each bin. (Bins: 1000,2000,5000,10000,20000,50000,100000 (m)) Using the parameter unite_modes, specific modes can be renamed into one with the name specified with united_name (by default 'united')
plot_compare_mainmode_barchart()
Plot bar chart of changes in modal split
plot_compare_mainmode_sankey()
Plot alluvial/sankey diagram of transport mode changes
plot_compare_score_boxplot()
Create a boxplot of score differences
plot_compare_travelwaittime_by_mainmode()
Creates comparison bar chart with main_mode on x-axis and average travel/wait time on y-axis
plot_compare_travelwaittime_by_mainmode_barchart()
Create comparison bar chart with main_mode on x-axis and average travel/wait time on y-axis
plot_count_scatterplot()
Creates a Via-Style scatterplot for each run
plot_deptime_by_act()
Create a line plot of departure time by activity
plot_distance_by_mainmode_barchart()
Plot bar chart with average distance traveled for each mode on x-axis and number of trips on y-axis
plot_distance_by_spatialcat_barchart()
Plots a bar chart with spatial type on x-axis and traveled distance on y-axis
plot_distcat_by_mainmode_barchart()
Plot bar chart with distance traveled on x-axis and number of trips on y-axis
plot_mainmode_barchart()
Plot the distribution of modes as a bar chart
plot_mainmode_piechart()
Plot the distribution of modes as a pie chart
plot_map_trips()
Plot start and end coordinates of the given trips table on an osm map
plot_map_trips_by_spatialcat()
Plot every spatial trip type (inside, outside, origin and destinating) on map
plot_spatialtype_by_shape_piechart()
Plots distribution of trips by spatial type as a pie chart
plot_travelwaittime_mean_barchart()
Plot travel and wait time for each mode as a bar chart
plot_trips_count_by_deptime_and_mainmode_linechart()
Creates a line plot with departure time on x-axis and number of trips on y-axis
prepareComparisonSimwrapperDashboardFromTable()
Creates comparison dashboard for the two given tables or folders with data
prepareSimwrapperDashboardFromFolder()
Creates dashboard for the given folder with data
prepareSimwrapperDashboardFromTable()
Creates dashboard for the given table with data
process_append_distcat()
Adds additional dist_cat column based on the distances_array parameter
process_append_spatialcat()
Appends an additional column with the trip type to output_trips
process_convert_table_to_sf()
Transforms the data frame trips_output (from read_output_trips) from tibble to sf (table with geometry features)
process_convert_time()
Converts a time column to a numeric representation of minutes, hours or seconds
process_filter_by_shape()
Filters trips_table(from read_output_trips) by location using a shapefile
process_get_crs_from_config()
Reads the coordinate reference system from a MATSim output directory (output_config.xml)
process_get_dtv_distribution_by_linktype()
Categorize daily traffic volume (DTV) and calculate DTV for different link types.
process_get_dtv_estimation_quality()
Categorize DTV deviation and aggregate data
process_get_mainmode_distribution()
Calculates main mode distribution
process_get_od_matrix()
Creates an origin/destination matrix either in conventional form (row names = origin, column names = destination) or for simwrapper (origin and destination as columns)
process_get_travdistance_distribution()
Calculates the travel distance distribution by main mode
process_get_travelwaittime_by_mainmode()
Calculates travel and wait time by main mode
process_join_counts_and_links()
Join counts and linkstats to the network, creating a tibble into memory
process_rename_category()
Replace two or more named categories of any column with a new joint category name
process_rename_mainmodes()
Replace two or more modes in the column main_mode with a new joint mode
read_config()
Load MATSIM config file into Memory
read_counts()
Load a MATSim Counts file into memory Loads a MATSim Counts XML-file as tibble into memory
read_linkstats()
Load a MATSim linkstats file into memory
read_network()
Load MATSim network into memory
read_output_persons()
Load MATSim output_persons table into memory
read_output_trips()
Load MATSim output_trips table into memory
symlog_trans()
A function to create symlog scaling for a plot