asreview.ASReviewData.to_file

ASReviewData.to_file(fp, labels=None, ranking=None, writer=None)[source]

Export data object to file.

RIS, CSV, TSV and Excel are supported file formats at the moment.

Parameters
  • fp (str) – Filepath to export to.

  • labels (list, numpy.ndarray) – Labels to be inserted into the dataframe before export.

  • ranking (list, numpy.ndarray) – Optionally, dataframe rows can be reordered.

  • writer (class) – Writer to export the file.