Description Usage Arguments Value Examples
View source: R/mapping_earthquakes.R
This function creates a Leaflet map with the locations of earthquakes from the NOAA Earthquake database
1 |
data |
A (filtered and) cleaned dataframe with locations from the NOAA Earthquake database |
annot_col |
A character string with the column that should be used for the pop-ups on the map |
A Leaflet map widget with the plotted locations of Earthquakes
1 2 3 4 5 6 7 | ## Not run:
get_eq_data() %>%
eq_clean_data() %>%
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.