
Generate a REDCap Instrument ZIP File for the PID5BF+M
Source:R/generate_redcap.R
generate_redcap_pid5bfpm.RdThe 36 items of the modified brief form of the PID-5 (PID5BF+M), in BF+M
order with their PID-5 text, and the instructions and response options of
the other PID-5 forms. The item fields are pid5bfpm_01 to pid5bfpm_36,
the names rename_pid5_items() and label_pid5() use with
version = "BFPM". Score them with score_pid5(version = "BFPM").
Usage
generate_redcap_pid5bfpm(
file = "pid5bfpm_redcap.zip",
form_name = "pid5bfpm_questionnaire",
required = TRUE,
breaks = 15
)See also
Step-by-step import instructions for Qualtrics and REDCap: https://jmgirard.github.io/hitop/articles/import-instructions.html
Examples
# Write a PID5BF+M REDCap instrument ZIP to a temporary location
generate_redcap_pid5bfpm(file = tempfile(fileext = ".zip"))
#> ✔ Instrument successfully zipped to /tmp/Rtmpmkz7jC/file1a6d1b661785.zip