Uploads the file to the server from path and creates a dataset from it. See supported file formats.

dai.upload_dataset(path, progress = getOption("dai.progress", TRUE))

Arguments

path

Local path at the client computer.

progress

Whether to display a progress bar.

Value

DAIFrame reprenting the dataset.

See also

dai.create_dataset

Examples

# NOT RUN {
dai.connect(uri = 'http://127.0.0.1:12345', username = 'h2oai', password = 'h2oai')
\dontshow{
local_path_to_data<- dai:::find_file('smalldata/kaggle/CreditCard/creditcard_train_cat.csv')
}
data <- dai.upload_dataset(local_path_to_data, progress = FALSE)
# }
# NOT RUN {
dai.rm(data)
# }