eq_CreateLabel: Supporting function for 'eq_Map'.

Description Usage Arguments Value See Also Examples

Description

It should be used for genereting more informative labels.

Usage

1

Arguments

df

data.frame - cleaned earthquake data

Value

data.frame - earthquake data with an addditional event description variable in a html format.

See Also

eq_Map

Examples

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

library(dplyr)

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

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