eq_create_label: Create a Label for the Earthquake map

Description Usage Arguments Value Examples

View source: R/mapping_earthquakes.R

Description

This function adds a column popup_text to the earthquake dataframe. This column can be used for the annotation column in eq_map()

Usage

1

Arguments

data

a (cleaned) dataframe with earthquake data from the NOAA earthquake database

Value

The input dataframe with an additional column called popup_text, which contains (when available) in html the Location, the Magnitude and the Total number of deaths for each earthquake

Examples

1
2
3
4
5
## Not run: 

eq_create_label(data = get_eq_data() )

## End(Not run)

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