eq_create_label: eq_create_label

Description Usage Arguments Examples

View source: R/leaflet.R

Description

Function used to create a pop-up that contains each earthquake information

Usage

1

Arguments

data

the data obtained from NOAA .

Examples

1
2
3
4
5
6
7
8
## Not run: 
noaa %>%
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)

MagdyLaban/Mastering_Software_Development_in_R_Capstone_Coursera documentation built on Oct. 30, 2019, 9:08 p.m.