eq_create_label: Create popup text for markers for a earthquake point.

Description Usage Arguments Value Examples

Description

This function puts together a character string for each earthquake that will show the cleaned location on the map.

Usage

1
eq_create_label(eq_clean = NULL)

Arguments

cleaned

and filtered dataframe for any location and dates.

Value

This function returns a map in HTML form with some text marker.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
filename<-system.file("extdata","data.gz",package="NOAAA")
readr::read_delim(filename, delim = "\t") %>%
eq_clean_data() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
dplyr::mutate(popup_text = eq_create_label(.)) %>%
eq_map(annot_col = "popup_text")

## End(Not run)

shubh-b/NOAAA documentation built on May 21, 2019, 2:31 a.m.