eq_map: Visualize Earthquakes on Earth map

Description Usage Arguments Value Examples

View source: R/leaflet.R

Description

Visualizes earthquakes data using 'leaflet' package

Usage

1
eq_map(data, annot_col = "DATE")

Arguments

data

Data frame containing the filtered data with earthquakes

annot_col

Name of the column containing annotation text

Value

Leaflet map widget

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(earthquakes)
eq_clean_data(earthquakes) %>%
eq_location_clean() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
eq_map(annot_col = "DATE")

## End(Not run)

avidclam/msdr5 documentation built on May 29, 2019, 11:02 p.m.