Dataset

dbgen.tables.dataset

class dbgen.tables.dataset.Dataset(*args, **values)
Parameters
  • name – name (e.g. name of the corresponding publication)

  • area – geographic area

  • year – publication year

  • samples – list of sample IDs belonging to the dataset

exception DoesNotExist
exception MultipleObjectsReturned
dbgen.tables.dataset.import_data(species_name: str, dataset_name: str, dataset_year: str)

Import dataset

Parameters
  • species_name – species name

  • dataset_name – dataset names (e.g. name of the corresponding publication)

  • dataset_year – publication year