The section provides list of links to all #rstats code repositories developed during the project lifetime.
Note that repositories will be consecutively shared along with the publication of the results.
List of currently available code repositories:
Sampling departure times: code to generate
.dbffile with a sample of departure times applying selected sampling method and temporal resolution.
Temporal resolution paper: code used in paper Stępniak, M., Pritchard, J.P., Geurs, K.T., Goliszek, S., 2019. The impact of temporal resolution on public transport accessibility measurement: Review and case study in Poland. Journal of Transport Geography 75, 8–24, (link).
GTFS Full Frequency: replaces original frequency of public transport service by a generic one, which assumes ´full frequency´ (no waiting times at public transport stops)
GTFS moveVis: code used to prepare visualization of public transport flows.
Sampling departure times
Link to the repo: Sampling departure times
The code provides a function
DepartureTime() which generates departure times using one of four sampling methods (i.e. Systematic, Simple Random, Hybrid, Constrained Random Walk) for a selected day and time window, applying a user-defined temporal resolution.
The output of the function is a
.dbf file which contains generated departure times (to be used e.g. in ArcGIS Network to calculate origin-destination matrices with time-dependent transport data, e.g. GTFS). The structure of the output file:
|rowID (integer), starts with 0||Departure date & hour|
Details about the function syntax an example of its application can be found in repo description.
Temporal resolution paper
Link to the repo: Temporal paper
The code repository contains all r code developed for the paper Stępniak, M., Pritchard, J.P., Geurs, K.T., Goliszek, S., 2019. The impact of temporal resolution on public transport accessibility measurement: Review and case study in Poland. Journal of Transport Geography 75, 8–24, (link).
Detailed description of all scripts, workflow and description of inputs and outputs of particular scripts can be found in repo´s README file. All the data used for the study can be downloaded from Open Data Repository RepOD. Direct link and reference of the dataset:
Stepniak, M., Goliszek, S., Pritchard, J., Geurs, K., 2019. The Impact of Temporal Resolution on Public Transport Accessibility Measurement. [Dataset] RepOD. https://doi.org/10.18150/repod.7727991
GTFS Full Frequency
Link to the repo: GTFS Full Frequency
This repository contains a function which replaces original frequency of public transport service (as coded in original GTFS feed) by a generic one (user-defined maximum waiting times at public transport stops), keeping the original travel times between stops. It is prepared in order to investigate impact of public transport´s route network on accessibility level (regardless applied resources, i.e. real frequency).
This code is used for the study policy support tool
Link to the repo: GTFS moveVis
The code was prepared for the Researchers Night 2018 in Madrid and it was used to illustrate public transport flows in Madrid (metro, trams and suburban trains) during the morning peak hours. Data source: Consorcio de Transportes de Madrid).
The repo consists of two parts: first coverts data derived from a GTFS feed in order to meet the requirements of the
The second part creates a video showing a movement of public transport vehicles using `moveVis´ package.
Note that since new version of
moveVis package is available, with completely rewritten code and introduced a new logic and new functions,
the code is likely depriciated. For the details consult the
moveVis official webpage
The output is presented on the video attached below.