eq_map: Visualize earthquake locations on map

Description Usage Arguments See Also Examples

View source: R/eq_map.R

Description

Draw earthquake locations from noaa dataset on leaflet map.

Usage

1
eq_map(data, annot_col)

Arguments

data

(tbl_df) noaa dataset cleaned with eq_clean_data

annot_col

(character) column to be used as labels

See Also

eq_create_label

Examples

1
2
3
4
5
6
7
## Not run: 
system.file("extdata", "noaa_earthquakes.tsv", package = "noaa") %>%
  eq_read_data %>%
  eq_clean_data %>%
  eq_map(annot_col = "DATE")

## End(Not run)

philippB-on-git/noaa documentation built on Dec. 22, 2021, 7:49 a.m.