eq_clean_data: Clean up a raw NOAA earthquake data file

Description Usage Arguments Value Note Examples

Description

This function cleans up a NOAA earthquake file. Missing months and days are filled in with 1's. Some BC dates are approximate.

Usage

1
eq_clean_data(filename)

Arguments

filename

A character string giving the name of the file

Value

This function returns a tbl_df object.

Note

An error message is printed if the file is not found.

Examples

1
my_clean_data <- eq_clean_data(filename="NOAA_earthquakes.txt")

lmitchell4/earthquake documentation built on May 29, 2019, 3:42 a.m.