eq_create_label: Popup Labeling for Leaflet Map

Description Usage Arguments Value Examples

Description

This function create Popup window with HTML format for Leaflet MAP

Usage

1

Arguments

data

A data frame with NOAA Significant Earthquake Database

Value

a vector with the HTML-formatted labels like row in data set

Examples

1
2
3
4
5
6
library(dplyr); library(lubridate)
NOAA_quakes%>%
eq_clean_data()%>%
dplyr::filter(COUNTRY == 'MEXICO') %>%
dplyr::filter(lubridate::year(DATE) >= 2000) %>%
dplyr::mutate(popup_text = eq_create_label(.))

jyjek/jyjekNOAA documentation built on May 7, 2019, 10:52 p.m.