asreview.load_dataset#

asreview.load_dataset(name, dataset_id=None, data_store=None, record_cls=<class 'asreview.data.record.Record'>, **kwargs)[source]#

Load dataset from file, URL, or plugin.

Parameters:
  • name (str, pathlib.Path) – File path, URL, or alias of extension dataset.

  • dataset_id (str, optional) – dataset_id that the records in the dataset should get. If not this will be the string form of the name. By default None.

  • data_store (asreview.data.store.DataStore, optional) – Data store in which to load the records of the dataset. If None, an in memory data store is created. By default None.

  • record_cls (Type[asreview.data.record.Base], optional) – Record type to use for the dataset records, by default Record

  • kwargs (dict, optional) – Keyword arguments passed to load_records.

Returns:

asreview.DataStore – Data store containing the records of the input file.