View source: R/import_neuromap_self_reports.R
import_neuromap_self_reports | R Documentation |
This function imports self report data for the NeuroMAP Study from Qualtrics and saves it as separate CSV files based on the specified scales.
import_neuromap_self_reports(
info = FALSE,
stats = FALSE,
survey_name = "NeuroMAP S2 - Self Report",
scales = "all",
include_id = TRUE,
include_dem = FALSE,
path = getwd(),
file_suffix = "",
file_date = FALSE,
add_to_envr = FALSE
)
info |
Logical. If |
stats |
Logical. If |
survey_name |
Character. The name of the survey in Qualtrics. Default is "NeuroMAP S2 - Self Report". |
scales |
Character or vector of characters. The scales to extract from the self report data. Available scales are: "iip90" (Inventory for Interpersonal Problems), "ctq" (Childhood Trauma Questionnaire), "panas" (Positive and Negative Affect Schedule), "pid5" (Personality Inventory for DSM-5), "asr" (Adult Self Report), "bpq" (Borderline Personality Questionnaire), "fs" (Flourishing Scale), "dusi" (Short Form Revised Drug Use Screening Inventory), "isc" (Interpersonal Stressors Circumplex), "upps" (Impulsive Behaviors Scale), "bfi" (Big Five Inventory-2), "cts" (Conflict Tactics Scale), and "emotb" (Emotional Trauma Outcome Measures Battery). Default is "all" to include all scales. |
include_id |
Logical. If |
include_dem |
Logical. If |
path |
Character. The path where the output files will be saved. If the specified path does not exist, the function will create the directories recursively. Default is the current working directory. |
file_suffix |
Character. A suffix to add to the output file names. Default is an empty string. |
file_date |
Logical. If |
add_to_envr |
Logical. If |
Zach Vig
import_neuromap_self_reports(info = TRUE)
import_neuromap_self_reports(scales = c("ctq", "asr"), include_dem = TRUE)
import_neuromap_self_reports(stats = TRUE)
import_neuromap_self_reports(path = "~/my_output_files")
import_neuromap_self_reports(file_suffix = "_v2", file_date = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.