Description Usage Arguments Details Value Examples
Creates HTML for annotation popup text
1 | eq_create_label(data, annot_col = "DATE")
|
data |
Dataset of earthquakes. For cleaning use |
annot_col |
Use this parameter for popup annotation with specific varaible |
eq_map
uses this function
Leaflet map
1 2 3 4 5 6 7 8 | ## Not run:
d<-dataset_noaa_raw
d<-dplyr::filter(eq_clean_data(d), COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000)
eq_map(d)
For Date annotation popup
eq_map(d, annot_col="DATE")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.