CALCULUS project main results

This section contains a brief summary of the main project results with links to more detailed information

{DepartureTime} R package

I have created my first (ever!) #rstats package. It is called {DepartureTime} and its purpose is to prepare a dataset with several departure times for temporally sensitive accessibility analysis. What does {DepartureTime} do? The package consists of one function which permits you to generate a series of departure times applying user-defined temporal resolution and one of four different sampling procedures: Systematic sampling method: departure times are selected using a regular interval defined by the frequency Simple Random sampling method: a specified number of departure times (defined by the frequency) is randomly selected from the time window Hybrid sampling method: departure times are randomly selected from given time intervals (resulted from applied temporal resolution) Constrained Random Walk Sampling sampling method: a first departure time is randomly selected from the subset of the length defined by the frequency and beginning of the time window; then, the next departure time is randomly selected from the subset limited by \(Tn+f/2\) and \(Tn+f+f/2\).

Interactive choropleth maps with R and tmap (part I)

In this post, I would like to share how to prepare an interactive map using #rstats and {tmap} package. The first part shows how to make a simple (one thematic layer), interactive choropleth map and save an output as a .html file, which can be then inserted to a website or serve as a stand alone web. A {tmap} provides with a certain interactivity: zoom in/out and map moving, a popup display and a selection of visibility of basemaps and/or thematic layers.