eq_create_label: Creates a label for a leaflet map

Description Usage Arguments Details Value Examples

View source: R/map_functions.R

Description

This function creates a label for the leaflet map based on location name, magnitude and casualties from NOAA earthquake data

Usage

1

Arguments

data

A data frame containing cleaned NOAA earthquake data

Details

The input data.frame requires the following columns: LOCATION_NAME, EQ_PRIMARY and TOTAL_DEATHS with the earthquake location, magintude and total casualties respectively.

Value

A character vector with labels

Examples

1
2
3
4
## Not run: 
eq_create_label(data)

## End(Not run)

DanielaSempertegui/Mastering-Software-Development-en-R-Capstone documentation built on May 16, 2019, 8:10 p.m.