[Experimental]

raw_data_1() returns the raw data paths of the insert_package_name package.

raw_data_1(file = NULL, package = "insert_package_name")

Arguments

file

(optional) a character object indicating the raw data file name(s). If NULL, all raw data file names will be returned (default: NULL).

package

(optional) a string indicating the target package. If not assigned, the function will try to use the name of the active project directory (requires the rstudioapi package).

Value

If file == NULL, a character object with all file names available. Else, a string with the file name path.

See also

Other R system functions: raw_data_2(), update_pkg_versions()

Examples

if (FALSE) { # \dontrun{
## 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])} # }