This was the first R-Lab with its actual structure: an organisation/ a company is willing to study a specific topic, they present it and we work all together on the problem in order to solve it using R and having fun.

In #RLab2 we talked about earthquakes and shiny with several participants with different backgrounds and different interests: from students to researchers and professionals, from statistics to geology and physics, from R beginners to advanced users… we all got together to learn and share our abilities!

The meeting opened with the newly born EarthCloud association that provided us with interesting data on the Bove-Vettore (Umbria) fault and the fault’s movements in years 1980-2016. We continued with Andrea and Mariachiara that gave us some inputs on the use of shiny and of ggmap: here both the presentations.

In three different heterogeneous groups we then started to work: a group was in charge of producing plots to be integrated into the shiny app, another group was in charge of producing maps to be integrated in the shiny app and a last group was in charge of putting up the actual shiny app integrating everyone’s functions.

The ggplot group produced univariate and bivariate plots for giving an overview of the magnitude of eartquakes in the years 1980-2016, on their depth and on their localisation.

The ggmap group produced a number of maps of the Bove-Vettore fault system highlighting the areas with more intense magnitude.

While the data visualization groups were busy finding the best representation for the data, the Shiny group was setting up a friendly shiny app where all the useful info could be presented and easily navigated.

By the end of the evening, and a couple of hours work, we were tired but happy! All groups came up with functioning functions and great ideas while learning about earthquakes with the geologists!

Download the the source code and the data on our dedicated github repo. It is still on development! (@rlabbers: there are still some graphs to integrate, and some little changes to do)

Thank you very much to all the participants, to EarthCloud for their proposal and contribution, and see you next month for the third Rlab!

(hint: the third R-Lab is Saturday 13th of May, and we will work together with the Comune di Milano for an entire day! We’ll have access to the municipality data of the city budget planning, for designing and realizing an R Shiny app that allows citizens to visualize and explore the city budget data. Subscriptions will open soon here, stay tuned!)

Related Post

Call for submissions open!
Experienced and wannabe speakers; R professionals and enthusiasts; people with good ideas and will to share them: this is who we are looking for. ...