Description Usage Arguments Value Examples
Input a dataframe (df) and the function will output a vector with HTML column names Required columns: CLEAN_LOCATION_NAME, EQ_PRIMARY and DEATHS
1 |
df |
dataframe for creating annotation column |
Returns a vector of earthquake details
1 2 3 4 5 6 7 8 9 | ## Not run:
map2 <-load_data() %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "GREECE" & lubridate::year(date) >= 2002) %>%
dplyr::mutate(popup_text = eq_create_label(.)) %>%
eq_map(annot_col = "popup_text")
print(map2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.