Description Usage Arguments Value Examples
Plots earthquake events on a map. Helper function to create html labels for events.
1 |
data |
Earthquake dataframe |
List of html labels for events
1 2 3 4 5 6 | # Assumes the NOAA earthquake dataset has been obtained per method
# in `data-raw/earthquakes.R`.
dplyr::mutate(
eq_clean_data(earthquakes),
popup_text = eq_create_label(.data)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.