eq_map: Creates a geographical map using OpenStreetMap leaflet tiles...

Description Usage Arguments Value Examples

View source: R/module3.R

Description

Creates a geographical map using OpenStreetMap leaflet tiles to display earthquake locations based on cleaned NOAA dataset

Usage

1
eq_map(data, annot_col = NULL)

Arguments

data

A preproccessed tibble (data.frame) of NOAA earthquakes dataset

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)

shaowei72/RCapstone documentation built on Sept. 19, 2020, 3:37 p.m.