Upload
class Upload
Constructors
Examples
table <- dataset$table("table_name")
upload <- table$upload()$create(
"./data.csv", # Path to file, data.frame, raw vector, etc
type="delimited", # Inferred from file extension if not provided
remove_on_fail=True, # Remove the upload if a failure occurs
wait_for_finish=True, # Wait for the upload to finish processing
raise_on_fail=True # Raise an error on failure
)dataset <- redivis$user("user_name")$dataset("dataset_name", version="next")
table <- dataset$table("table_name")
dir_path <- "/path/to/data/directory"
for (filename in list.files(dir_path)){
upload <- table$upload()$create(content=base::file.path(dir_path, filename))
}Attributes
Methods
Was this helpful?

