eq_map: Leaflet map of earthquakes

Description Usage Arguments Value Examples

View source: R/eq_map.R

Description

This function creates a leaflet map of selected earthquakes.

Usage

1
eq_map(data, annot_col)

Arguments

data

A data frame containing cleaned NOAA earthquake data

annot_col

A character. The name of the column in the data that should be used for the pop up information. HTML code can be included in this column for formatted text

Value

A leaflet map with earthquakes and annotations.

Examples

1
2
3
4
5
## Not run: 
data %>% dplyr::filter(COUNTRY == "SPAIN") %>%
  eq_map(annot_col = "DATE")

## End(Not run)

eregmig/earthquake documentation built on May 17, 2019, 7:04 p.m.