Description Usage Arguments Value Note Examples
eq_create_label creates the content of a label that includes the locationm the magnitude and the number of deaths of the earthquake
1 |
data |
is a cleaned data set of the earthquakes |
a data frame with a column for the labels' content
if one of the information is missing the it will not appear in the label
1 2 | \code{eq %>% mutate(popup_text = eq_create_label(.)) %>%
eq_map(annot_col = "popup_text")}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.