eq_map: Create Leaflet Earthquake map

Description Usage Arguments Value Examples

View source: R/mapping_earthquakes.R

Description

This function creates a Leaflet map with the locations of earthquakes from the NOAA Earthquake database

Usage

1
eq_map(data, annot_col = NA)

Arguments

data

A (filtered and) cleaned dataframe with locations from the NOAA Earthquake database

annot_col

A character string with the column that should be used for the pop-ups on the map

Value

A Leaflet map widget with the plotted locations of Earthquakes

Examples

1
2
3
4
5
6
7
## Not run: 

get_eq_data() %>%
 eq_clean_data() %>%
 eq_map(annot_col = "date")

## End(Not run)

RedTent/earthquakeJT documentation built on May 25, 2019, 1:25 p.m.