eq_download_data: Download Earthquake Data from NOAA

Description Usage Arguments Value References See Also Examples

View source: R/eq_download_data.R

Description

Download Earthquake Data from NOAA

Usage

1
eq_download_data(destfile, data_path)

Arguments

destfile

A character string with the name where the downloaded file is saved.

data_path

A string with the data path

Value

None

References

https://www.ngdc.noaa.gov/nndc/struts/form?t=101650&s=1&d=1

http://www.noaa.gov/

See Also

download.file

Examples

1
2
3
4
5
6
## Not run: 
data_path <- "inst/extdata"
dest_file <- "noaa_earthquake.txt"
eq_download_data(destfile = dest_file, data_path = data_path)

## End(Not run)

EnriquePH/NOAA.earthquake documentation built on May 6, 2019, 3:26 p.m.