eq_create_label: Create HTML formatted pop up text for the earthquake...

Description Usage Arguments Value Examples

Description

The function takes in the earthquake data frame containing columns of of: \itemise \item Location name \item Total deaths \item Magnitude of earthquake It formats the information to HTML so that it can be used by eq_map.

Usage

1

Arguments

df

data frame of the selected earthquake incidents. the data frame has to have columns for latitude, longitude, LOCATION_NAME, TOAL_DEATHS AND EQ_PRIMARY.

Value

vector of characters for HTML formatted popup messages

Examples

1
## Not run: df %>% dplyr::mutate(popup_text = eq_create_label(.))

wingtham/NOAA documentation built on May 24, 2019, 3:51 p.m.