Description Usage Arguments Value Examples
Create map of quakes
1 |
df |
A dataframe containing at a minimum, earthquake magnitude, latitude and longitude and a column to label the markers with. |
annot_col |
Name of column containing desired marker label |
Leaflet map
1 2 3 4 5 6 7 8 9 | ## Not run:
quakes_df %>%
eq_clean_data() %>%
eq_location_clean() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
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.