The Data Curation Tool (DCT) allows data owners and curators to view summary statistics for variables and to create and edit variable-level metadata for any tabular file in a data set. This stand-alone component is built to complement The Dataverse Project. The Data Curation tool is integrated into dataverse for .tab files under the configure button.
The DCT is an Angular application.
A demo of the tool is available here; note that this Github pages demo is not recommended for use in a production environment: https://scholarsportal.github.io/Dataverse-Data-Explorer/?dfId=127759&siteUrl=https://borealisdata.ca.
-
NodeJS (runtime for Angular and client)
For development, I recommend using a Node Version manager such as nvm or fnm. Otherwise, NodeJS can be found here.
-
Angular (client framework)
npm install -g @angular/cli
Integrating Data Explorer in your institution? See the Dataverse guide for more information about installing external tools.
Now to start development.
npm install
ng serve
When a user selects a variables, navigates to another group, and makes another selection, the app holds the selection information for both contexts in which the selection in made. In simple terms the user does not have to worry about losing their selection when they change groups.
The tool has a state divided into three distinct state groups.
The XML State is the final DDI file that will be uploaded to Dataverse.
The Dataset State contains information about operations being operated on the dataset (upload and download status), any extra information gained from an API call (variable cross tab data), as well as imported file information.
The UI state represents any UI changes, including any temporary visual changes to the dataset (invalid values in the chart modal).