Skip to content

Scripts to process travel survey data for developing JIBE models

Notifications You must be signed in to change notification settings

jibeproject/travelDiaryProcessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

travelDiaryProcessing

R scripts for processing and modelling with travel diary data. Currently includes diary data from Manchester (TRADS), England (NTS), and Melbourne (VISTA)

Manchester

Scripts associated with the Greater Manchester TRADS travel diary (https://tfgm.com/trads) for years 2016-2018.

Most important scripts are described here

script/Manchester/read.r

Reads the raw travel diary files provided by TfGM in .sav format and runs initial processing. Saves output database in RDS format, which is used for further analysis.

script/Manchester/routing/addXYcoords.r

Adds XY coordinates to trip origins and destinations to create a dataset suitable for routing. The output file is used for route-based analysis in the Java repository https://github.com/jibeproject/matsim-jibe. This input is specified using the property 'diary.file' in that repository.

script/Manchester/modeChoice/prepForApollo.r

Preliminary data preparation for mode choice modelling. Runs after read.r.

script/Manchester/modeChoice/prepForJava.r

Next stage of data preparation for mode choice modelling. Runs after prepForApollo.r. Creates output files suitable for mode choice estimation in the Java repository https://github.com/jibeproject/matsim-jibe. This input is specified using the second argument in the estimation main method (https://github.com/jibeproject/matsim-jibe/blob/master/src/main/java/estimation/RunMnlManchester.java). Also includes miscellaneous analysis scripts for this dataset

script/Manchester/modeChoice/formatJavaResults.r

Formats outputs from mode choice estimation for presentation / publication and for incorporating into MITO.

England

Scripts associated with England's National Travel Survey (NTS) for years 2014-2020. Most important scripts are described below.

script/England/read.r

Reads the raw NTS travel diary files, filters to only years after 2014, and runs initial processing which is used for further analysis.

script/England/speeds_age_gender.r

Estimates average walking and cycling speeds (based on recorded distance and travel time) for different age and gender groups. Used for exposure assessment in MITO.

script/England/timeOfDay_MITO.r

Estimates distribution curves for arrival time and activity duration for MITO.

Melbourne

Scripts associated with the VISTA travel diary survey for Melbourne [TBD]

About

Scripts to process travel survey data for developing JIBE models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages