The Coursera/Johns Hopkins Mastering Software Development in R Capstone Project examines earthquake data from the U.S. National Oceanographic and Atmospheric Administation's (NOAA) dataset of significant earthquakes for more info, visit: click here.
You can install RCapstone from github with:
# install.packages("devtools")
devtools::install_github("arthurgailes/RCapstone")
This function loads and formats the earthquake data used for the graphs
data <- RCapstone::eq_clean_data(RCapstone::NOAA)
This graphs earthquakes in US and China after 2000; the radius of the circles charts the richter-scale magnitude of the earthquakes.
RCapstone::geom_timeline(RCapstone::NOAA)
This graphs earthquakes in US and China after 2000; the radius of the circles charts the richter-scale magnitude of the earthquakes. The largest earthquakes are labeled.
RCapstone::geom_timeline_label(RCapstone::NOAA)
Generates a Map of earthquakes in Mexico after 2000. The radius of the circles corresponds to the magnitude of the earthquakes.
RCapstone::eq_map(data = RCapstone::NOAA)
#the interactive version cannot be displayed on Github