asreview.datasets.DatasetManager#
- class asreview.datasets.DatasetManager[source]#
Bases:
object
Methods
__init__
()find
(dataset_id)Find a dataset.
list
([include, exclude, serialize, ...])List the available datasets.
Attributes
- find(dataset_id)[source]#
Find a dataset.
- Parameters:
dataset_id (str, iterable) – Look for this term in aliases within any dataset. A group can be specified by setting dataset_id to ‘group_id:dataset_id’. This can be helpful if the dataset_id is not unique. The dataset_id can also be a non-string iterable, in which case a list will be returned with all terms. Dataset_ids should not contain semicolons (:). Return None if the dataset could not be found.
- Returns:
BaseDataSet – Return the dataset with dataset_id.
- property groups#