Skip to contents

All functions

createCountScatterPlot()
Creates a Via-Style scatterplot for each run
generateXYHexagonYaml()
Creates/adds XY hexagon definition of output trips to a summary dashboard
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()
Load MATSim network into memory
mergeCountsAndLinks()
Join counts and linkstats to the network, creating a tibble into memory
plot_arrtime_by_act()
Plot Arrival Time by Activity
plot_compare_count_by_spatialcat_barchart()
Plot Comparison of Count by Spatial Category (Bar Chart)
plot_compare_distcat_by_mainmode_barchart()
Bar chart comparing distance traveled on x-axis and number of trips on y-axis for two different runs Takes two data frames (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()
Boxplot of Score Differences
plot_compare_travelwaittime_by_mainmode()
Bar Chart comparing two runs with main_mode on x-axis and average travel/wait time on y-axis
plot_compare_travelwaittime_by_mainmode_barchart()
Comparison bar chart with main_mode on x-axis and average travel/wait time on y-axis
plot_deptime_by_act()
Plot Departure Time by Activity
plot_distance_by_mainmode_barchart()
Bar chart with average distance traveled for each mode on x-axis and number of trips on y-axis
plot_distance_by_spatialcat_barchart()
Bar Chart with tripType on x-axis and travelled distance on y-axis
plot_distcat_by_mainmode_barchart()
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()
Plots start and end coordinates of the given trips table on an osm map
plot_map_trips_by_spatialcat()
Plots every type of trips(inside, outside, origin and destinating) on map
plot_spatialtype_by_shape_piechart()
Plots distribution of every type of trip(inside, outside, origin and destinating) 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()
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
processDtvEstimationQuality()
Categorize DTV deviation and aggregate data
processLinkStatsDtvDistribution()
Categorize daily traffic volume (DTV) and calculate DTV for different link types.
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 time column specified in time_column to numeric representation of minutes, hours or seconds
process_filter_by_shape()
Filters trips_table(from ,read_output_trips) depending 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_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()
Get Travel Distance Distribution by Main Mode
process_get_travelwaittime_by_mainmode()
Get Travel and Wait Time by Main Mode
process_rename_category()
Replace Matching Categories of any column with United Name in Tibble
process_rename_mainmodes()
Replace Matching Categories of main_mode with United Name in Tibble
readCounts()
Load a MATSim Counts file into memory
readLinkStats()
Load a MATSim linkstats file into memory
read_config()
Load MATSIM config 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