eq_clean_data: Load NOAA significant earthquake data into a tibble

Description Usage Arguments Value Note Examples

Description

This function reads tab-delimited file of the entire significant earthquake data available at NOAA_url from U.S. National Oceanographic and Atmospheric Administration (NOAA) database and returns a tibble (data.frame). After reading the columns YEAR, MONTH and DAY are merged into column named DATE, which contains Date class entries.

Usage

1
eq_clean_data(NOAA_url)

Arguments

NOAA_url

A character string giving the URL path to the significant earthquake data file

Value

This function returns a tibble (data.frame) of the input file

Note

This function will give error if the file path is incorrect or file does not exist

Examples

1
NOAA_clean_data = eq_clean_data("https://www.ngdc.noaa.gov/nndc/struts/results?type_0=Exact&query_0=$ID&t=101650&s=13&d=189&dfn=signif.txt")

volansys/earthquake-visualization documentation built on May 3, 2019, 6:40 p.m.