eq_create_label: Popup annotation text

Description Usage Arguments Details Value Examples

View source: R/eq_map.R

Description

Creates HTML for annotation popup text

Usage

1
eq_create_label(data, annot_col = "DATE")

Arguments

data

Dataset of earthquakes. For cleaning use eq_clean_data

annot_col

Use this parameter for popup annotation with specific varaible

Details

eq_map uses this function

Value

Leaflet map

Examples

1
2
3
4
5
6
7
8
## Not run: 
d<-dataset_noaa_raw
d<-dplyr::filter(eq_clean_data(d), COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000)
eq_map(d)
For Date annotation popup
eq_map(d, annot_col="DATE")

## End(Not run)

dddbbb/erquaker documentation built on May 17, 2019, 9:11 a.m.