eq_map: eq_map

Description Usage Arguments Value Examples

Description

The function show on a map eartquakes for a particular country

Usage

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

Arguments

df

A NOAA dataframe filterd after COUNTRY and YEAR

annot_col

A string representing the name of column used to annotate earthquake marker

Value

A a map displaying earthquate location for a given country with user defined popup

Examples

1
2
3
4
df <- load_data()
df <- eq_clean_data(df)
df <- dplyr::filter(df, COUNTRY == "MEXICO" & lubridate::year(DataEQ) >= 2000)
g <- eq_map(df, annot_col = "DataEQ")

constantin345/NOOA documentation built on May 16, 2019, 7:09 p.m.