Summary
This article explains how to create exportable data packages and how to export the data packages.
The following are the features you can use to configure new exports and export data packs that have been made available:
1. Select which form to create a data pack for.
2.Export data types:
- Decode choice fields - Replaces the coded value of choice type fields (radio fields and dropdowns/picklists) with the choice text
- Use label as header - Uses the reporting label as the column header rather than the field name for each field
- Archived records - Includes all archived records as well as the final ones; an archived record is a past version of the same record that was saved again and replaced by a subsequent record, such as when data is changed and a form is re-saved; an "Archived" column will indicate which records are archived versions versus which ones are final
- Deleted records - Includes any deleted records in the export; a "Deleted" column will indicate which ones have a deleted status
- Draft records - Includes records saved in draft mode, if the study was set up to allow draft saving
- Include Admin site records - Includes Admin/testing data in the exports; this data comes from any Administrative type sites, as defined in the Site Manager
3. Related columns - Subject Fields and Visit/Event Fields:
- Primary key (sub_id) - This is the database primary key that is assigned to the given subject; it is used as a PK->FK relationship between the Subject Fields and the Event Fields
- Profile ID - The subject's ID that is seen throughout the system; this can potentially be changed by users, but the sub_id cannot
- Treatment start date - The visit/event date from the subject registration form
- Version - The version of the study where the record currently exists
- Site - The study site where the record exists
- Study - The name of the study defined in the Study Manager
- Primary key (trans_id) - A unique key to each subject event and is used to establish a link between the event and the actual form and subform data
- Event Date - The date key field that must be entered into each subject form
- Form status - The current state of each record (e.g., saved)
- Form Frozen - Indicates True if the record has been frozen
- Interval - The name of the visit
- Unscheduled ID - The name of the visit, if it's an unscheduled one
- Randomization Allocation - This will only show as an option if the study is randomized; it can be used to display the allocation (Unblinding) for each record
4. Targeted Roles - Dictates which user roles will have access to the data pack export when they open the same page; only Administrator roles (hierarchy level of 200) are able to set up exports as described here and access all data; other lower roles can only export what has been set up for them
5. Export description - Brief description of what the export is intended for
6. Save data pack - Saves the export into the table at the top of the page
7. Export data pack - Click this link to open the data pack and run the export (described in more detail later)
8. Edit data pack - Use this option to adjust any of the pre-defined parameters described in items 1-5
Clicking the Export link will load “Grid Views” of your Form data. You will see 1 or more “Grid View” depending on how the form is created. The figure below shows the Subject Profile Form with two grid views. The first “Grid View” displays the Main Form Data; the second “Grid View” displays the “Sub Form Table” data, which comes from having a normalized table on the form. Depending on how a form is created, it may have no sub form table or more than one sub form table.
Pick the format of the data on the grid views to be exported and select Export. There are currently three types of exports formats: Excel, SAS XML, and SPSS SAV. Choose the format you would like the form data to be displayed in when you do the actual export. For Excel and SAS XML formats, you will need to pick the format for each grid view that you want to export. For SPSS SAV, you will only need to pick that form on the main grid view and it will include all the sub form table data in a zip file.
Save the Exported Data Pack. A Save File window will appear after clicking the Export button. Click OK to open or save the file to your computer.
Need more help?
Please visit the Datatrak Contact Information page.