eq_create_label: Create html labels for Earthquke data

Description Usage Arguments Value Examples

View source: R/map_NOAA.R

Description

Create popup content as a html encoded character. Indicates location if value is not missing (NA), richter scale magnitude if value is not missing(NA), total number of deaths if value is not missing(NA).

Usage

1

Arguments

data

processed NOAA data

Value

character of the same lenght as the input data

Examples

1
2
3
4
5
6
7
## Not run: 
noaa <- load_NOAA_db(file_noaa)%>% eq_clean_data()
noaa %>%eq_create_label()
noaa_with_label -> noaa %>%
    dplyr::mutate("popup_text"=eq_create_label(.))

## End(Not run)

BreizhZut/NOAAsignifEarthQuakes documentation built on Nov. 10, 2019, 3:45 p.m.