eq_map | R Documentation |
More detailed description
eq_map(DATA, annot_col = "DATE", radius = 15)
DATA |
Earthquake data |
annot_col |
column with information to show |
radius |
radius circle |
Earthquake data Clean
## Not run: file_name <- system.file("extdata", "signif.txt", package = "Capstone") raw_data <- file_name %>% readr::read_tsv() %>% eq_clean_data() %>% 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.