DataPathFromDataArg {datarobot} | R Documentation |
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
DataPathFromDataArg(dataSource, saveFile = NULL)
dataSource |
object. The dataframe or path to CSV to get data for. |
saveFile |
character. Optional. A file name to write an autosaved dataframe to. |