eq_map: Print "Earthquakes Timeline Visualization with Label"

Description Usage Arguments Value Note Examples

View source: R/earthquakes.R

Description

This function creates a Plotly map of significant earthquake data provide by NOAA (National Centers for Environmental Information).

Usage

1
eq_map(data, annot_col)

Arguments

data

The data has been cleaned using eq_clean_data function

annot_col

The column chosen by user to be annotated.

Value

This function returns a leaflet map visualization with earthquakes are represented by circles and size of circle indicates magnitude(EQ_PRIMARY)

Note

Earthquakes that occurred BCE (Before Current Epoch) have been removed from the dataset because negative year values are not handled well.

Examples

1
2
3
4
## Not run: 
eq_map(raw, "DATE")

## End(Not run)

aliciatb/earthquakes documentation built on May 29, 2019, 11:02 p.m.