<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/earthquakes-maps-report-and-shinyapp-from-r-lab2/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://www.milanor.net/blog/earthquakes-maps-report-shinyapp-from-r-lab2/"> MilanoR</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<div class="wp-caption"><a target="_blank" rel="nofollow" href="https://i2.wp.com/www.milanor.net/blog/wp-content/uploads/2017/04/600_460041595.jpeg"><img alt="600_460041595" class="wp-image-2655" src="https://i2.wp.com/www.milanor.net/blog/wp-content/uploads/2017/04/600_460041595.jpeg?w=450" data-recalc-dims="1"></a>
<p class="wp-caption-text">Our board of ideas, tasks to do, doing and done &lt;3</p>
</div>
<p>Hey R-users and lovers!</p>
<p>In the last few weeks we have had many events going on for the R community in Milano!</p>
<p>After the launching event for our new <strong><a target="_blank" rel="nofollow" href="https://www.meetup.com/R-Lab-Milano/events/238081972/">R-labs</a></strong> and the <strong><a target="_blank" rel="nofollow" href="http://www.milanor.net/blog/8th-milanor-meeting-presentations-photos/">8th MilanoR meeting</a></strong>, we had our <strong><a target="_blank" rel="nofollow" href="https://www.meetup.com/R-Lab-Milano/events/238824405/">second R-Lab</a></strong>.</p>
<p>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.</p>
<p><strong>In #RLab2 we talked about earthquakes and shiny</strong> 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!</p>
<p>The meeting opened with the newly born <strong>EarthCloud</strong> association that provided us with interesting <strong>data on the Bove-Vettore (Umbria) fault</strong> 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: <strong><a target="_blank" rel="nofollow" href="https://github.com/r-lab-milano/r-lab2/tree/master/slides">here both the presentations</a></strong>.</p>
<p>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.</p>
<p>The <span><strong><span>ggplot group</span></strong></span> 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.</p>
<p>The <strong><span>ggmap group</span></strong> produced a number of maps of the Bove-Vettore fault system highlighting the areas with more intense magnitude.</p>
<p>While the data visualization groups were busy finding the best representation for the data, the <span><strong>Shiny group</strong></span> was setting up a friendly shiny app where all the useful info could be presented and easily navigated.</p>
<p>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!</p>
<p>Check here for the functioning app:</p>
<p><strong><a target="_blank" rel="nofollow" href="https://r-lab-milano.shinyapps.io/earthquakemaps/">https://r-lab-milano.shinyapps.io/earthquakemaps/</a></strong></p>
<p>Download the the source code and the data on <strong><a target="_blank" rel="nofollow" href="https://github.com/r-lab-milano/earthquakeMaps/tree/earthq_integr1">our dedicated github repo</a></strong>. It is still on development! (@rlabbers: there are still some graphs to integrate, and some little changes to do)</p>
<p>Thank you very much to all the participants, to EarthCloud for their proposal and contribution, and see you next month for the third Rlab!</p>
<p><em>(hint: the third R-Lab is <strong>Saturday 13th of May</strong>, and we will work together with the Comune di Milano for an entire day! We’ll have access to the <strong>municipality data of the city budget planning</strong>, for designing and realizing an R Shiny app that allows citizens to visualize and explore the city budget data. <a target="_blank" rel="nofollow" href="https://www.meetup.com/R-Lab-Milano/">Subscriptions will open soon here</a>, stay tuned!)</em></p>
<p> </p>
</div>
<p>The post <a target="_blank" rel="nofollow" href="http://www.milanor.net/blog/earthquakes-maps-report-shinyapp-from-r-lab2/">Earthquakes &amp; Maps – Report and shinyapp from R-Lab#2</a> appeared first on <a target="_blank" rel="nofollow" href="http://www.milanor.net/blog">MilanoR</a>.</p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://www.milanor.net/blog/earthquakes-maps-report-shinyapp-from-r-lab2/"> MilanoR</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/XxLRriPQz9E"></a></div>