Description Usage Arguments Value Examples
This method returns a popup-text for each in the data frame with location name, magnitude and deaths.
1 |
df |
The data frame for the popup-texts. |
list of popup-texts.
1 2 3 4 5 6 7 8 | ## Not run:
f <- system.file("extdata", "signif.txt", package="earthquakes")
a <- eq_clean_data(file = f)
b <- dplyr::filter(a, COUNTRY == "MEXICO" && lubridate::year(DATE) >= 2000)
c <- dplyr::mutate(b, popup_text = eq_create_label(.))
eq_map(c, 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.