colrev.writer.write_utils.write_file

write_file(records_dict, *, filename, **kw)[source]

Write a file (BiBTex, RIS, or other) from a dictionary of records.

Return type:

dict

Note:
For tabular formats (csv, xlsx, md), the following options are supported:
  • sort_fields_first: list of fields to appear first in the output

  • drop_empty_fields: if True, empty fields will be omitted