asreview.ASReviewData.from_file

classmethod ASReviewData.from_file(fp, reader=None)[source]

Create instance from supported file format.

It works in two ways; either manual control where the conversion functions are supplied or automatic, where it searches in the entry points for the right conversion functions.

Parameters:
  • fp (str, pathlib.Path) – Read the data from this file or url.

  • reader (class) – Reader to import the file.