Description Usage Arguments Value Examples
A function to generate an interactive map showing earthquakes for a particular country. The user specifies a column from the data which the earthquake is to be annotated by eg date.
1 | eq_map(eq_data, annot_col)
|
eq_data |
A data table containing NOAA Earthquake data |
annot_col |
A column found in |
An interactive map displaying earthquate location for a given country with user defined popup.
1 2 3 4 | library(dplyr)
library(lubridate)
eq_clean_data(eq_data_raw) %>%
dplyr::filter(COUNTRY == "MEXICO" & 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.