Dataset

class Dataset

Datasets on Redivis are the entity where data is stored. Datasets are made up of tables, non-tabular files, and various metadata. Datasets can be owned by a user or organization, and are version controlled.

Constructors

Construct a new dataset instance that references a dataset owned by an organization.

Returns a list of Datasets owned by an organization.

Construct a new dataset instance that references a dataset owned by a user.

Returns a list of Datasets owned by a user.

Examples

dataset = redivis.organization("Demo").dataset("US Fires")

# Will throw an error if the dataset doesn't exists
# Can first call dataset.exists() to check for existence
dataset.get()

print(dataset.properties)

Attributes

organization

properties

qualified_reference

scoped_reference

The canonical reference for the dataset, without the username qualifier. E.g.,: ghcn_daily_weather_data:v1_1:7br5

user

Methods

Add labels to a dataset.

Create a new dataset.

Create a "next" (unreleased) version on the dataset. Data can only be uploaded to unreleased versions.

Delete the dataset.

Check whether the dataset exists.

Get the dataset, populating the properties attribute on the current instance.

List all tables in the dataset.

List all versions for the dataset.

Create a query scoped to the dataset.

Release the next version of the dataset.

Remove labels from a dataset.

Create a reference to a specific table within the dataset.

Unrelease the current version of the dataset, moving it back to an unreleased, "next" version.

Update certain attributes on the dataset.

Last updated