Description Usage Arguments Value Examples
The function maps the epicenters (LATITUDE/LONGITUDE) and annotates each point with in pop up window containing annotation data stored in a column of the data frame.
1 | eq_map(clean_data, annot_col = "DATE")
|
clean_data |
The clean earthquake data. |
annot_col |
Column in clean_data with the annotations |
An interactive 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(annot_col = "DATE")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.