eq_map: Draw earthquake locations and annotate them.

Description Usage Arguments Examples

Description

Draw earthquake locations and annotate them.

Usage

1
eq_map(df, annot_col = NULL)

Arguments

df

Dataframe with NOAA data, including at least earthquake longitude and latitude.

annot_col

Unquoted column names with information to annotate the popups of the map.

Examples

1
2
3
4
library(dplyr)
eq_data %>% eq_clean_data() %>% eq_location_clean() %>%
dplyr::filter(COUNTRY == "CHINA" & lubridate::year(DATE) >= 2000) %>%
eq_map(annot_col = DATE)

rafaelcb/NOAA documentation built on May 9, 2019, 1:16 p.m.