eq_Map: Function for plotting a leaflet map of earthquake occurences.

Description Usage Arguments Value References See Also Examples

Description

Function for plotting a leaflet map of earthquake occurences.

Usage

1
eq_Map(df, label = "DATE")

Arguments

df

data.frame - cleaned earthquake data

label

character - Column in the tbl_df object to be used for annotation.

Value

leaflet map - interactive map of significant earthquakes

References

http://rstudio.github.io/leaflet/

See Also

eq_CreateLabel

Examples

1
2
3
4
5
6
7
8
df = eq_ReadQuake()

library(dplyr)

eq_CleanData(df) %>%
eq_GenLocationName() %>%
dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 1980) %>%
eq_Map(label = "DATE")

Polkas/EarthQuakeCapstone documentation built on May 29, 2019, 2:49 p.m.