This function prepares a 'screener package': a set of files that one or more screeners can use to independently screen a set of bibliographic records.

write_screenerPackage(
  bibliographyDf,
  outputPath,
  screeners = c("a", "b"),
  screenerFieldsPrefix = "screener",
  screenerFieldsSuffix = "status",
  prevRoundField = NULL,
  duplicateField = NULL,
  initializeScreenerFields = TRUE,
  basename = "screening_",
  silent = metabefor::opts$get("silent"),
  ...
)

Arguments

bibliographyDf

A dataframe with bibliographic entries

outputPath

The path where to write the screener package(s)

screeners

The unique identifiers to use for each screener; a character vector where each value represented one screener. This will be used for the directory and filenames as well as fields in the bibliographic database.

screenerFieldsPrefix, screenerFieldsSuffix

The pre- and suffixes to pre- and append to the screener identifier in the field names in the bibliographic database

prevRoundField

A field containing information from previous screening rounds

duplicateField

The field containing information about duplicates; if specified, information from this field is appended to whatever is already stored in the

initializeScreenerFields

Whether to copy the contents of the initialization field to the screener fields.

basename

The base name for the directories and files (appended with the screener identifiers)

silent

Whether to be silent or chatty.

...

Any additional arguments are passed to write_JabRef_Config().

Value

Invisibly, a results object with intermediate results and the written configuration file