eq_create_label: Creating html label This function creates a html label...

Description Usage Arguments Value Examples

View source: R/week3.R

Description

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.

Usage

1

Arguments

data

data.frame

Value

character

Examples

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)

cemrecapstone/earthquakes documentation built on Dec. 19, 2021, 2:54 p.m.