DataPathFromDataArg: Get the data path.

View source: R/UploadData.R

DataPathFromDataArgR Documentation

Get the data path.

Description

Verifies that new data is either an existing datafile or a dataframe If a dataframe, save as a CSV file If neither an existing datafile nor a dataframe, halt with error

Usage

DataPathFromDataArg(dataSource, saveFile = NULL)

Arguments

dataSource

object. The dataframe or path to CSV to get data for.

saveFile

character. Optional. A file name to write an autosaved dataframe to.


datarobot documentation built on May 29, 2024, 4:36 a.m.