eq_file_path: Get the path to the NOAA dataset

Description Usage Arguments Value Examples

View source: R/get_data.R

Description

Returns the full path to the NOAA dataset for a given directory. If no path is provided, a persistent path to the file will be created. If the file do not exists, it will be retrieved from the NOAA website.

Usage

1
eq_file_path(destdir = NULL, update = FALSE)

Arguments

destdir

character. A character vector with path to the working directory. If NULL a persistet folder will be created (default and prefered).

update

boolean. Delete the current file and download the dataset again?

Value

character. Absolute path to the NOAA dataset

Examples

1
## Not run: noaa_file_path

JhossePaul/NOAACoursera documentation built on May 8, 2017, 11:28 p.m.