Datasets

class citrination_client.data.dataset.Dataset(id, name=None, description=None, created_at=None)

Class representation of a dataset on Citrination.

__init__(id, name=None, description=None, created_at=None)

Constructor.

Parameters
  • id (int) – The ID of the dataset (required for instantiation)

  • name (str) – The name of the dataset

  • description (str) – The description of the dataset

  • created_at (str) – The timestamp for creation of the dataset

class citrination_client.data.dataset_file.DatasetFile(path, url=None)

Class representation of a file in a dataset on Citrination.

__init__(path, url=None)

Constructor.

Parameters
  • path (str) – The files path

  • url (str) – If present, a download URL for the file

class citrination_client.data.dataset_version.DatasetVersion(number)

Class representation of a version of a dataset on Citrination.

__init__(number)

Constructor.

Parameters

number (ints) – The number of the dataset version