Description Usage Arguments Details Value Examples
eq_map creates a leaflet map showing the location of the earthquake.
1 |
data |
The earthquake clean data frame |
annot_col |
The name of the column to be used for annotation |
The function maps the epicenters Longitude and Latitude and annotates each point in a popup window.
Returns a leaflet map
1 2 3 4 5 6 7 8 | ## Not run:
load_raw_data() %>%
eq_clean_data() %>%
eq_location_clean() %>%
dplyr::filter(Country == "MEXICO" & lubridate::year(Date) >= 2000)
eq_map(data = NOAA_data, annot_col = "Date")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.