eq_clean_data: Returns a cleaned NOAA Significant Earthquakes data.frame

Description Usage Arguments Value Note Examples

Description

Returns a cleaned NOAA Significant Earthquakes data.frame

Usage

1
2
eq_clean_data(data = NULL, filename = NULL, replaceDateNA_by = c(NA, NA,
  "00", "00", "00"))

Arguments

data

an already loaded data.frame from the NOAA dataset

filename

the path to a NOAA tab separated datafile

replaceDateNA_by

a five element vector. Will be used to replace NA elements in dates c("MONTH", "DAY", "HOUR", "MINUTE", "SECOND"). Allow computation of partial dates.

Value

a dataframe

Note

If no input are defined, function will use "quakes" dataset as an input (see ?quakes for more information)

Examples

1
2

KDallaporta/CapstoneProject documentation built on May 12, 2019, 1:09 p.m.