eq_map: Mapping the earthquake epicenters and providing some...

Description Usage Arguments Value Examples

View source: R/eq_map.R

Description

This interactive map can show earquake information on popup accoring to given column

Usage

1
eq_map(mapdata, annot_col = "DATE")

Arguments

annot_col

a string representing colume

dat

an imput dataframe

Value

A map of the earthquakes epicenters and providing some annotations

Examples

1
2
3
4
5
6
7
## Not run: 
readr::read_delim(("extdata","earthquake.txt", delim = "\t") %>%
eq_clean_data() %>%
  dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
  eq_map(annot_col = "DATE")

## End(Not run)

willojs/earthquakesNOAA documentation built on Nov. 5, 2019, 12:21 p.m.