Earthquakes & Maps – Report and shinyapp from R-Lab#2

By MilanoR

600_460041595

(This article was first published on MilanoR, and kindly contributed to R-bloggers)

Our board of ideas, tasks to do, doing and done <3

Hey R-users and lovers!

In the last few weeks we have had many events going on for the R community in Milano!

After the launching event for our new R-labs and the 8th MilanoR meeting, we had our second R-Lab.

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!

Check here for the functioning app:

https://r-lab-milano.shinyapps.io/earthquakemaps/

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!)

The post Earthquakes & Maps – Report and shinyapp from R-Lab#2 appeared first on MilanoR.

To leave a comment for the author, please follow the link and comment on their blog: MilanoR.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more…

Source:: R News

Leave a Reply

Your email address will not be published. Required fields are marked *


Time limit is exhausted. Please reload CAPTCHA.