
Generate a REDCap Instrument ZIP File for the PID-5-BF Child Form (Ages 11 to 17)
Source:R/generate_redcap.R
generate_redcap_pid5bfchild.RdThe 25 items of the PID-5-BF child form for ages 11 to 17, which are the
adult brief form's items in the same order with the same keying, and the
child form's instructions and response options. The item fields are the
adult form's, pid5bf_01 to pid5bf_25, the names rename_pid5_items()
and label_pid5() use with version = "BF". Score them with
score_pid5(version = "BF"). Because the field names are the adult
form's, one REDCap project cannot hold this instrument and the one
generate_redcap_pid5bf() writes.
Usage
generate_redcap_pid5bfchild(
file = "pid5bfchild_redcap.zip",
form_name = "pid5bfchild_questionnaire",
required = TRUE,
breaks = 15
)References
Krueger, R. F., Derringer, J., Markon, K. E., Watson, D., & Skodol, A. E. (2013). The Personality Inventory for DSM-5—Brief Form (PID-5-BF)—Child Age 11–17. American Psychiatric Association.
See also
Step-by-step import instructions for Qualtrics and REDCap: https://jmgirard.github.io/hitop/articles/import-instructions.html
Examples
# Write a PID-5-BF child form REDCap instrument ZIP to a temporary location
generate_redcap_pid5bfchild(file = tempfile(fileext = ".zip"))
#> ✔ Instrument successfully zipped to /tmp/Rtmpmkz7jC/file1a6dc138a18.zip