eq_map: eq_map

Description Usage Arguments Examples

Description

maps earthquakes on a leaflet object

Usage

1
eq_map(eq_data, annot_col)

Arguments

eq_data

a dataframe containing info on earthquakes. The data frame should have the following columns: LONGITUDE, LATITUDE, EQ_PRIMARY

annot_col

the name of the column containing information to show on the map.

Examples

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

clems/NoaaCS documentation built on May 12, 2019, 1:59 p.m.