eq_map: eq_map function

Description Usage Arguments Value Examples

View source: R/module3.R

Description

function that creates a leaflet map of earthquakes

Usage

1
eq_map(eq_clean = NULL, annot_col = "date")

Arguments

inherit.aes

Value

a function that will build a layer based on geom_timeline geom.

Examples

1
2
3
4
5
## Not run: readr::read_delim("earthquakes.tsv.gz", delim = "\t") %>%
 eq_clean_data() %>%
 dplyr::filter(COUNTRY == "MEXICO" & lubridate::year(DATE) >= 2000) %>%
 eq_map(annot_col = "DATE")
## End(Not run)

AESpe/R_capstone_final documentation built on Oct. 16, 2020, 12:37 a.m.