Writes the fillable INSTAR report: one row per framework item, with a
description of what to report and an empty report column at the
far right to type into. Reserved rows at the top carry a usage note
and the paper's own details, so a completed file explains itself and
identifies the study it belongs to.
Usage
write_template(path, study_type = c("both", "lab", "field"))Details
The file is a plain CSV and is meant to be opened in a spreadsheet,
filled in, and deposited alongside the paper as supplementary
material. Read it back with read_items().
Conventions for the report column:
write a sentence or two of substantive content for items the study reports;
leave it blank for items the study does not report;
write
NAfor items that do not apply to the study.
There is deliberately no status column: status is derived from what
you write, so the two can never disagree. write_items() does include
it, for saving and resuming your own work.
Examples
if (FALSE) { # \dontrun{
write_template("INSTAR.csv", study_type = "field")
# ...fill in the report column in Excel, Numbers, or any editor...
items <- read_items("INSTAR.csv")
} # }