eq_map: Creates a leaflet map of earthquakes

Description Usage Arguments Value Examples

View source: R/map_functions.R

Description

This function creates a leaflet map of selected earthquakes based on input NOAA earthquake cleaned data.

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 as descriptor.

Value

A leaflet map with earthquakes and annotations.

Examples

1
2
3
4
## Not run: 
eq_map(data, annot_col = "LOCATION_NAME")

## End(Not run)

Solymi90/r.prog.capstone documentation built on May 27, 2019, 7:42 a.m.