eq_map: Create interactive map visualization of NOAA earthquake data.

Description Usage Arguments Value Examples

Description

This function maps the epicenters (LATITUDE/LONGITUDE) and annotates each point with in pop up window containing annotation data stored in a column of the cleaned data frame of NOAA dataset.

Usage

1
eq_map(eq_clean = NULL, annot_col = "DATE")

Arguments

annot_col

for "DATE".

The

clean dataframe of the base NOAA dataset.

Value

This function returns an interactive map.

Examples

1
2
3
4
5
6
7
8
## Not run: 
filename<-system.file("extdata","data.gz",package="NOAAA")
readr::read_delim(filename, delim = "\t") %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
eq_map(annot_col = "DATE")

## End(Not run)

shubh-b/NOAAA documentation built on May 21, 2019, 2:31 a.m.