Skip to main content
Use alphacast.datasets for the collection, and alphacast.datasets.dataset(id) for one dataset. To add or read data, see Uploading and Downloading.

List datasets

Returns the datasets in repositories that your account or your teams have permission on. It does not list the public catalog. To find catalog datasets, use Search.

Find a dataset by name

The server matches the name, ignoring case and accents. repo_id is optional. Without it, you get the first match in any repository. The method returns None when nothing matches.

Inspect a dataset

metadata()

Returns the dataset record, including id, name, repositoryId, permission, frequency, minDate, maxDate, dataEditedAt, and columns. See Get a dataset.

get_column_definitions()

Returns the list of column definitions. Use it after the dataset’s columns are set up.

datestats()

Returns the frequency and date range as JSON bytes.
The field name is spelled inferedFreq.

Delete a dataset

Deletion is permanent.
delete does not raise on HTTP errors. A successful deletion returns an empty response, so check it:
A dataset that is still in use is not deleted. See conflicts. The SDK has no option to force the deletion.

Next steps

Uploading data

Create a dataset and add data.

Downloading data

Read data with filters.