eq_clean_data: Print "Earthquakes Clean Data"

Description Usage Arguments Value Note Examples

View source: R/earthquakes.R

Description

This function reads a raw dataset of significant earthquake data provide by NOAA (National Centers for Environmental Information).

Usage

1
eq_clean_data(raw_data)

Arguments

raw_data

The raw data loaded into R environment after reading in from https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1

Value

This function returns a tibble with a date field, numeric latitude and longitude values and a city name.

Note

Earthquakes that occurred BCE (Before Current Epoch) have been removed from the dataset because negative year values are not handled well.

Examples

1
2
3
4
## Not run: 
eq_clean_data(raw)

## End(Not run)

aliciatb/earthquakes documentation built on May 29, 2019, 11:02 p.m.