
Generate a REDCap Instrument ZIP File for the PID-5 Child Form (Ages 11 to 17)
Source:R/generate_redcap.R
generate_redcap_pid5child.RdThe 220 items of the PID-5 child form for ages 11 to 17, which are the
adult full 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, pid5_001 to pid5_220, the names rename_pid5_items()
and label_pid5() use with version = "FULL". Score them with
score_pid5(version = "FULL"). Because the field names are the adult
form's, one REDCap project cannot hold this instrument and the one
generate_redcap_pid5() writes.
Usage
generate_redcap_pid5child(
file = "pid5child_redcap.zip",
form_name = "pid5child_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 (PID-5)—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 child form REDCap instrument ZIP to a temporary location
generate_redcap_pid5child(file = tempfile(fileext = ".zip"))
#> ✔ Instrument successfully zipped to /tmp/Rtmpmkz7jC/file1a6d5920de5d.zip