Creating a dataset

Basic example

Python
R
Python
import redivis
dataset = redivis.user("imathews").dataset("some random name")
dataset.create(public_access_level="overview")
table = dataset.table("A table").create(
description="Some info", upload_merge_strategy="replace"
)
with open("test.csv", "rb") as f:
table.upload(name="test.csv", type="delimited", data=f)
dataset.release()
R