eq_clean_data: Cleaning the Data

Description Usage Arguments Value Note Source Examples

View source: R/clean.R

Description

Cleaning the Data

Usage

1

Arguments

data

A "-" delimited file with the data concerning earthquakes that can be downloaded from the the NOAA website

Value

This function returns a dataframe with all the data in a tidy format

Note

We must first read the data

We change the format of the date, and change lognitude and latitudes into numerics

Source

The data should come from the NOOA website

Examples

1
2
\code{  data <- read.delim("results")
eq <- eq_clean_data(data)}

zflouris/final documentation built on May 6, 2019, 8:06 p.m.