eq_map: Map of Significant Earthquakes

Description Usage Arguments Value Examples

View source: R/eq_map.R

Description

Creates map with circle points of earthqakes with popup annotation

Usage

1
eq_map(data, annot_col = "popup text")

Arguments

data

Dataset of earthquakes. For cleaning use eq_clean_data

annot_col

Use this parameter for popup annotation with specific varaible

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 Oct. 23, 2017, 11:51 p.m.