eq_map: Create map with earthquakes

Description Usage Arguments Value Examples

View source: R/eq-map.R

Description

Create map with earthquakes

Usage

1
eq_map(x, annot_col)

Arguments

x

A data.frame that contains earthquake data by NOAA and was cleaned with eq_clean_data()

annot_col

Unquoted name of column in x that holds text for pop-ups

Value

A leaflet map created by leaflet::leaflet that indicates each earthquake with a circle. A pop-up displays the content of annot_col.

Examples

1
eq_map(noaa_data, annot_col = DATE)

niklaas/rcapstone documentation built on May 25, 2019, 10:41 p.m.