Description Usage Arguments Value Examples
Creates HTML labels with location, magnitude, and total deaths for earthquake data.
| 1 | 
| df | Data frame containing at least LOCATION_NAME, EQ_PRIMARY, and TOTAL_DEATHS columns. | 
Character string with the HTML label.
| 1 2 3 4 5 6 7 8 9 | ## Not run: 
# This can be used with \code{\link{eq_map}} as follows:
library(dplyr)
earthquakes %>%
  dplyr::mutate(popup_text = eq_create_label(.)) %>%
  eq_map(annot_col = "popup_text")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.