eq_create_label: Create NOAA Earthquake Label

Description Usage Arguments Details Value Examples

View source: R/eqvis.R

Description

This function creates a label vector of location, magnitude and deaths for display on a map circle marker popup.

Usage

1

Arguments

data

data.frame of cleaned (see eq_clean_data) NOAA significant earthquake dataset

Details

If LOCATION_NAME, EQ_PRIMARY or DEATHS are NA, they are not included in the label text.

Value

Returns a label vector of popup text including location, magnitude, and deaths.

Examples

1
## Not run: eq_create_label(sample_eq)

kaquilino/eqvis documentation built on July 20, 2017, 6:32 a.m.