README.md

EarthquakeAnalysis

Travis build
status R-CMD-check

The goal of EarthquakeAnalysis is to complete the MSDR Capstone project on Coursera.

This capstone project will be centered around a dataset obtained from the U.S. National Oceanographic and Atmospheric Administration (NOAA) on significant earthquakes around the world.

Installation

You can install the development version of EarthquakeAnalysis like so:

library(devtools)
install_github("BFavetto/EarthquakeAnalysis")
library(EarthquakeAnalysis)

Example

This is a basic example which shows you how to plot a map with recent earthquakes in Italy:

library(dplyr)
library(ggplot2)

# load the dataset
data("NOAAdata")

NOAAdata %>% eq_clean_data() %>%
  eq_location_clean() %>%
  filter(Country %in% "ITALY" &
               lubridate::year(Date) >= 2000) %>%
  eq_map(annot_col = "Date")


BFavetto/EarthquakeAnalysis documentation built on Dec. 17, 2021, 9:50 a.m.