Description Usage Arguments Value Examples
This function create Popup window with HTML format for Leaflet MAP
1 |
data |
A data frame with NOAA Significant Earthquake Database |
a vector with the HTML-formatted labels like row in data set
1 2 3 4 5 6 | library(dplyr); library(lubridate)
NOAA_quakes%>%
eq_clean_data()%>%
dplyr::filter(COUNTRY == 'MEXICO') %>%
dplyr::filter(lubridate::year(DATE) >= 2000) %>%
dplyr::mutate(popup_text = eq_create_label(.))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.