[Experimental]

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

raw_data_2(type = NULL, file = NULL, package = "insert_package_name")

Arguments

type

(optional) a string indicating the file type of the raw data (default: NULL).

file

(optional) a character object indicating the file name(s) of the raw data (default: NULL).

package

(optional) a string indicating the package with the database data. If NULL, the function will try to use the name of the active project directory (requires the rstudioapi package) (default: insert_package_name).

Value

  • If type = NULL, a character object with all file type names available.

  • If type != NULL and file = NULL, a character object with all file names available from type.

  • If type != NULL and file != NULL, a character with the file name(s) path.

See also

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

Examples

if (FALSE) { # \dontrun{
raw_data_2()
} # }