Description Usage Arguments Value References See Also Examples
Function for plotting a leaflet map of earthquake occurences.
1 |
df |
data.frame - cleaned earthquake data |
label |
character - Column in the tbl_df object to be used for annotation. |
leaflet map - interactive map of significant earthquakes
http://rstudio.github.io/leaflet/
1 2 3 4 5 6 7 8 | df = eq_ReadQuake()
library(dplyr)
eq_CleanData(df) %>%
eq_GenLocationName() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 1980) %>%
eq_Map(label = "DATE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.