raw_data_1() returns the raw data paths of the [INSERT PACKAGE NAME]
package.
Arguments
- file
(optional) A
charactervector indicating the file name(s) of the raw data. IfNULL, all raw data file names will be returned (Default:NULL).- package
(optional) A
characterstring indicating the package with the database data. IfNULL, the function will try to use the basename of the working directory (Default:NULL).
Value
If file == NULL, a character vector with all file
names available. Else, a string with the file name path.
See also
Other R package functions:
raw_data_2(),
update_pkg_versions(),
update_pkg_year()
Examples
if (interactive()) {
## To list all raw data file names available
raw_data_1()
## To get the file path from a specific raw data
raw_data_1(raw_data()[1])
}
