Description Usage Arguments Examples
Function eq_create_label()
takes the dataset as an argument and creates an HTML label
that can be used as the annotation text in the leaflet map.
1 |
data |
The inputed data frame |
1 2 3 4 5 6 7 8 | ## Not run:
eq_country_filter(data, c("INDIA"),
xmin = as.Date("1850-01-01"),
xmax = as.Date("1920-01-01"))%>%
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.