Description Usage Arguments Value Examples
Map of earthquake events.
1 |
data |
Earthquake dataframe |
annot_col |
Name of column containing data for event popups |
Leaflet map
1 2 3 4 5 6 7 8 9 | # Assumes the NOAA earthquake dataset has been obtained per method
# in `data-raw/earthquakes.R`.
eq_map(
dplyr::mutate(
eq_clean_data(earthquakes),
popup_text = eq_create_label(.data)
),
annot_col = "popup_text"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.