Description Usage Arguments Value Examples
Creating html label This function creates a html label including location and magnitude of each earthquake and the number of deaths in them. The output can be used as a popup message for eq_map function.
1 |
data |
data.frame |
character
1 2 3 4 5 | ## Not run:
data <- eq_location_clean(eq_clean_data(data))
data <- dplyr::mutate(data, popup_text = eq_create_label(data))
eq_map(data, "popup_text")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.