eq_map: Leaflet map

Description Usage Arguments Value Examples

View source: R/leaflet.R

Description

eq_map creates a leaflet map for the earthquakes in our data set.

Usage

1
eq_map(data, annot_col)

Arguments

data

is a cleaned data set of the earthquakes

annot_col

is the character name of the collumn that the user wants to appear in the pop-up window.

Value

a leaflet map

Examples

1
2
3
eq %>%
           filter((COUNTRY %in% c("GREECE")) & year(DATE)>1981) %>%
           eq_map(annot_col = "DEATHS")

zflouris/final documentation built on May 6, 2019, 8:06 p.m.