eq_create_label: Plots earthquake events on a map. Helper function to create...

Description Usage Arguments Value Examples

View source: R/eq_map.R

Description

Plots earthquake events on a map. Helper function to create html labels for events.

Usage

1

Arguments

data

Earthquake dataframe

Value

List of html labels for events

Examples

1
2
3
4
5
6
# Assumes the NOAA earthquake dataset has been obtained per method
# in `data-raw/earthquakes.R`.
dplyr::mutate(
  eq_clean_data(earthquakes),
  popup_text = eq_create_label(.data)
)

lemonad/coursera-mastering-r-capstone documentation built on Dec. 21, 2021, 9:51 a.m.