eq_create_label: New label for the leaflet map

Description Usage Arguments Value Note Examples

View source: R/leaflet.R

Description

eq_create_label creates the content of a label that includes the locationm the magnitude and the number of deaths of the earthquake

Usage

1

Arguments

data

is a cleaned data set of the earthquakes

Value

a data frame with a column for the labels' content

Note

if one of the information is missing the it will not appear in the label

Examples

1
2
\code{eq %>% mutate(popup_text = eq_create_label(.)) %>%
             eq_map(annot_col = "popup_text")}

zflouris/final documentation built on May 6, 2019, 8:06 p.m.