asreview.ASReviewData.record

ASReviewData.record(i, by_index=True)[source]

Create a record from an index.

Parameters:
  • i (int, iterable) – Index of the record, or list of indices.

  • by_index (bool) – If True, take the i-th value as used internally by the review. If False, take the record with record_id==i.

Returns:

PaperRecord – The corresponding record if i was an integer, or a list of records if i was an iterable.