During this week Italy has been striken by a series of earthquakes which have spread around the areas of Perugia, Viso and Rome. CNN has a dedicated video about this in its webpage. So in this short markdown document we will be ploting the region of Italy and pointing out just a few of the earthquakes that took place on thursday the 19th of Januari. Actually there has been registered up to 186 earthquakes in the regions of L’Aquila, Rieti, Perugia and Rome. More detailed information can be obtained in the Volcano Discovery Webpage where all seisms are registrered lived!
Well as you all know this peer-graded assignment is all about Leaflet (Since R Markdown has been covered in opther courses and just a few more details were revealed in this session). We all love leaflet, it does awesome things with the maps, so lets going to load in R:
library(leaflet)
And now we will start building our map:
So the different regions have been colored and the popups show the magnitude of the seisms, moreover the radius of each circle shows the Depth. Note that in order to visualize the radius I just multiply the original value by 400 so all the circles are visibles in the whole region, values of 10 Km are not visible in such a broad area :>.
For those interested in see the code you can find the .Rmd, .md and .htlm files in my git repository: