eq_create_label: Create a Leaflet map label

Description Usage Arguments Value Note Examples

Description

This function builds a label for the leaflet map popup based off of the location, magnitude, and death toll of the earthquake represented in the data

Usage

1

Arguments

x

A clean earthquake data.frame

Value

The clean earthquake data.frame with a popup_text variable

Note

the function will throw an error if x is not a data.frame

Examples

1
2
3
4
## Not run: 
clean_earthquake_data$popup_text <- eq_create_label(clean_earthquake_data)

## End(Not run)

codyschulz/earthquakeMap documentation built on May 25, 2019, 4:20 p.m.