Description Usage Arguments Examples
Draw earthquake locations and annotate them.
1 |
df |
Dataframe with NOAA data, including at least earthquake longitude and latitude. |
annot_col |
Unquoted column names with information to annotate the popups of the map. |
1 2 3 4 | library(dplyr)
eq_data %>% eq_clean_data() %>% eq_location_clean() %>%
dplyr::filter(COUNTRY == "CHINA" & lubridate::year(DATE) >= 2000) %>%
eq_map(annot_col = DATE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.