Description Usage Arguments Value Examples
eq_map
creates a string / character combining some information to display
in the pop-up
1 |
data |
This data frame is the whole earth quake data |
this function gives back a vector with character strings
1 2 3 4 5 6 7 8 | require(magrittr)
data("NOAAearthquakes")
map_example <- NOAAearthquakes %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(date) >= 2000) %>%
dplyr::mutate(popup_text = eq_create_label(.)) %>%
eq_map(annot_col = "popup_text")
map_example
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.