ui-icts / redcap-admin-dashboard

Provides a sortable table view of various reports on REDCap metadata
MIT License
2 stars 2 forks source link
redcap redcap-external-module redcap-repo

Admin Dashboard

Description

The REDCap Admin Dashboard provides a number of reports on various project and user metadata in a sortable, filterable table view. Additional user-defined reports can be included via custom SQL queries or generated by joining data across multiple REDCap projects. This data can also be downloaded as a CSV formatted file (as well as other delimited formats) and reports can optionally be shared with non-admin users in a limited format or requested externally via API calls.

The following reports are included by default:

Each report configuration is stored as a record in a dedicated REDCap project.

Usage

After downloading and enabling this module on your REDCap instance, a link to the Admin Dashboard will appear at the bottom of the Control Center sidebar. A REDCap project (created with the included template) is required before the module can properly function. Once the module is enabled on the template project, setup is complete.

NOTE: The first time this module is enabled at the project level, that project will be linked as the configuration source. Enabling on additional projects is possible (and necessary, if using the "Project Sync" feature), but the configuration PID will not change. If you need to switch to another PID for some reason, the config PID should be set to NONE in the module's system settings and enabled on the new project shortly after. The project template requires some extra customizations that are only applied under these circumstances (enabling at the project level while config PID is set to NONE).

Exporting

Export options can be found in the top right corner (above the report title), though they may be hidden on a per-report, per-user (if accessed via Executive Dashboard), or per-project (if accessed via Project Sync) basis by setting the relevant option in report config. Report results can be downloaded in CSV format, JSON format, or simply copied directly to your clipboard. Exports will include all data regardless of paging, but it will also respect any active filtering.

Adding/Editing Reports

Each report is stored as a separate record in the Admin Dashboard's configuration project. This allows for easy management, ensures any config/access changes are logged, and allows custom reports to be easily imported/exported for backup purposes or even shared with other institutions. Reports are organized into two arms, "SQL Queries" and "Project Joins", which have slightly different config options. Below is a brief description of each instrument and what options are available within them.

Report Config

The User Access section is available in both arms and all forms are completely optional. By default, there is no way for non-superuser accounts to access Admin Dashboard reports. These instruments allow more flexibility in report access, even to non-admin users. In "Executive Dashboard" and "Project Sync" views, any column formatting that converts results into links will be ignored.

User Access

NOTE: It is not recommended to edit/delete the default reports as they can be helpful examples to reference when creating your own custom reports. If you do not wish to use them, you can change their visibility settings to not appear in the Admin Dashboard's navigation bar.

System-Level Settings