Description Usage Arguments Details Value Examples
This function plots earthquakes and avaialble information about said earthquakes on an interactive map that will allow the used to click on an earthquake to see the relevant details.
1 |
df |
data to plot' |
annot_col |
column to use for annotations, defaults to DATE |
Creates an interactive map showing the location of the earthquakes and thier date.
Returns an interactive leaflet map
1 2 3 4 5 6 7 | ## Not run:
readr::read_delim("earthquakes.tsv.gz", delim = "\t") %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
eq_map()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.