View source: R/process_cinderella_chat.R
process_cinderella_chat | R Documentation |
Takes the output from CHAT for a narrative sample and converts it into a form that can be directly read into Redcap. This can be done through an API write call or through uploading it manually.
process_cinderella_chat( filepath, record_id = NA, instance = NA, entry = NA, administrator = NA, date = NA, study = NA, timepoint = NA, record_id_col = "demo_record_id", inst_name = "cinderella_narrative_summary" )
filepath |
Character, Filepath to a .csv or .xlsx file created by CHAT |
record_id |
Character or Numeric, Record ID for this participant |
instance |
Character or Numeric, Instance number for this participant's narrative sample |
entry |
Person doing data entry |
administrator |
Character, researcher NetID |
date |
Character, Date of the sample in MM-DD-YYYY format |
study |
Character, Which study is this sample for? |
timepoint |
Character, Which timepoint of the study is this sample for? |
record_id_col |
Defaults to record_id |
inst_name |
Defaults to cinderella_narrative_summary |
A dataframe ready to be exported to redcap
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.