Description Usage Arguments See Also Examples
View source: R/eq_create_label.R
Create a label text that can be used with eq_map by combining LOCATION, MAG and TOTAL_DEATHS into a html-string.
1 |
data |
(tbl_df) noaa dataset cleaned with |
1 2 3 4 5 6 7 8 | ## Not run:
system.file("extdata", "noaa_earthquakes.tsv", package = "noaa") %>%
eq_read_data %>%
eq_clean_data %>%
mutate(label_text = eq_create_label(.)) %>%
eq_map(annot_col = "label_text")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.