eq_map: eq_map

Description Usage Arguments Examples

View source: R/leaflet.R

Description

Function that takes a data from NOAA and annotation column to get back a leaflet map represents individual earthquakes .

Usage

1
eq_map(data, annot_col)

Arguments

data

the data obtained from NOAA .

annot_col

column used for annotation in the pop-up graph

Examples

1
2
3
4
5
6
7
## Not run: 
noaa %>%
 eq_clean_data() %>%
 dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
 eq_map(annot_col = "DATE")

## End(Not run)

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