eq_map: Create an interactive map zoomed to the data with simple...

Description Usage Arguments Examples

Description

The function creates an interactive map to display the location of the selected earthquakes. When clicked, it displays the date of the earthquake.

Usage

1
eq_map(df, annot_col)

Arguments

df

data frame of the selected earthquake incidents. the data frame has to have latitude, longitude and a column for annotation purpose.

annot_col

character specifying the column where the annotation text is displayed.

Examples

1
## Not run: df %>% eq_map(df, "DATE")

wingtham/NOAA documentation built on May 24, 2019, 3:51 p.m.