Description Usage Arguments Value Examples
The function takes in the earthquake data frame containing columns of of:
\itemise \item Location name \item Total deaths \item Magnitude of
earthquake It formats the information to HTML so that it can be used by
eq_map
.
1 |
df |
data frame of the selected earthquake incidents. the data frame has to have columns for latitude, longitude, LOCATION_NAME, TOAL_DEATHS AND EQ_PRIMARY. |
vector of characters for HTML formatted popup messages
1 | ## Not run: df %>% dplyr::mutate(popup_text = eq_create_label(.))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.