eq_map: Eq Map

Description Usage Arguments Value Examples

Description

A interactive map to show earthquakes on it as cirle points whose radius is determined by EQ_PRIMARY column. It should also annotate a data based on the annot_col value.

Usage

1
eq_map(data, annot_col)

Arguments

data

A data.frame containing NOAA earthquake data.

annot_col

A column in data that has to be annotate.

Value

A interactive leaflet map with location marked based on the data and popup determined by annot_col.

Examples

1
2
3
4
5
## Not run: 
 mexico.df <- noaa.df  %>% dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000)
 eq_map(mexico.df, "DATE")

## End(Not run)

GopalSeshadri/NOAA documentation built on May 30, 2019, 7:59 p.m.