Uploading data

Basic example

Python
R
Python
import redivis
dataset = redivis.user("imathews").dataset("some random name")
table = dataset.table("A table")
with open("test.csv", "rb") as f:
table.upload(name="test.csv", type="delimited", data=f)
dataset.release()
R

Creating a new version

Python
R
Python
import redivis
dataset = redivis.user("imathews").dataset("some random name").create_next_version()
table = dataset.table("a table")
with open("tiny.csv", "rb") as f:
table.upload(name="tiny.csv", type="delimited", data=f)
dataset.release()
R