...
width | 80% |
---|
...
3. Enter information you would like to import. Before importing it, check the following:
- In column A, be certain a unique ID is entered for every record. Enable to import data, it is required to have this entered so that REDCap knows what record the data is designated to. This field is generally the study_id.
- Do not change the Variable / Field Names in Row 1, because doing so will lead to errors when uploading
- If it's a longitudinal study, it is required to enter the redcap event name (a.k.a. Unique event name) in column B. The redcap event name (circled in red in image below) is auto generated on the "Define My Events" page. The name is formatted with the event name followed by arm name (e.g. screening_1_arm_1). To get to the "Define My Events" page, go to "Project Setup" and click on "Define My Events"
- If it contains Data Access Groups (DAGs), enter the unique-group name in that the record belongs to in column C. Info about DAGs is at: <https://wiki.chpc.utah.edu/pages/viewpage.action?pageId=570359865>
- If repeatable forms are used in your project, there will be 2 additional columns, they are the following:
- redcap_repeat_instrument column - used for name of the repeatable instrument (located in column B or C)
- redcap_repeat_instance column - gives a number to each repeated instrument, goes in numerical order (located in column C or D)
...
Use codes assigned to them on REDCap
(shown in choices box when editing a field)
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Initial Considerations
Tip |
---|
PRO TIP-Many users find it helpful to enter data into a test record (if records don’t already exist) before attempting to import data! Why? You can then export that same data to better understand & visualize how your data should be imported.
|
Data imports are useful when transferring data between REDCap projects, transferring data from the Electronic Health Record to a REDCap project, and when entering manually-collected data to a REDCap project.
Data being imported must match the raw, coded values associated to said field variable.
Use your ‘codebook’ to verify values. Coded values appear to left of the answer choice.
...
Standard examples below-
Field type | Coded value |
---|---|
Check boxes | Has separate box for each answer |
...
choice |
...
0 = checkbox is not selected | |
Yes - No | 1 = Yes 0 = No |
...
True - False | 1 = True 0 = False |
...
Text |
...
Box | No Coding, but may have validation requirements |
Notes |
...
Box | No Coding |
...
Leave box blank
...
...
, free text field | |
Calculated Field | Leave Blank, calculations are unable to be imported |
Other helpful articles may include:
https://utahctsi.atlassian.net/servicedesk/customer/portal/3/article/276988267
https://utahctsi.atlassian.net/servicedesk/customer/portal/3/article/1035239446
...
How to use the Data Import Tool
Navigate to the project you'd like to import data into
From the left hand ‘applications’ menu, select Data Import Tool
Read & follow instructions 1-3 within the data import tool page to proceed
Download your template in the desired format
Add data to your file ensuring it matches your project setup, ie, field values, etc.
Carefully choose your upload settings!
View the?symbol for more information on each setting. This is a critical step! View descriptions below
Click ‘Choose File’ to select your data import file
After diligently confirming your upload settings are setup as desired, click ‘Upload File' to begin the data import
Review for accuracy once import is complete
Description of Upload Settings
Expand | ||
---|---|---|
| ||
Choose an import option
Display the data comparison table?
Rename records?
Overwrite data with blank values?
File format settings
|
...
Additional Considerations
Warning |
---|
REDCap may refuse to upload due to errors. Correct the mistakes it lists, save, and try to upload again. Continue to do this until it accepts the data and uploads it. 8. Once the data is uploaded and accepted, REDCap will show a summary of the changes made (as shown in image below). To make the changes permanent, scroll to the bottom and click on "Import Data" (circled in red in image below). |
...
For longitudinal projects, it is required to enter the redcap event name into fieldredcap_event_name.
...
For repeatable forms, there will be 2 additional fields:
redcap_repeat_instrument
Provided the coded name of repeatable instrument. This can be found in your codebook. Spaces within an instrument name are represented with a underscore.
redcap_repeat_instance
These should go in numerical order, each line data representing the instance of.
ex) 2 instances:
...
For projects utilizing Data Access Groups (DAGS) , it is required to enter the ‘unique group name’ into fieldredcap_data_access_group to assign a record to a DAG group
...
It’s also important to provide the record_id name exactly as you want it to appear in the UI .
...