Description Usage Arguments Value Examples
eq_map
creates an interactive map of earthquakes. It plots events as
circles with their radii proportional to the magnitude of the earthquake.
Labels can also be passed that will popup when a user clicks on a given
event on the map.
1 |
df |
A data frame containing earthquake data. The data frame should
include the |
annot_col |
Character string containing the name of the column in
|
An html object.
1 2 3 4 5 6 7 | ## Not run:
earthquakes %>% eq_filter_data(countries = c("Mexico"),
minimum_date = "1980-01-01",
maximum_date = "2018-12-31") %>%
eq_map(annot_col = "POPUP_TEXT")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.