Git Product home page Git Product logo

abcd-redcap2rs's Introduction

ABCD Study Dictionary to ReproSchema Conversion

Goal of this Repo

This repository converts the ABCD data dictionary from ABCD Study Dictionary to the ReproSchema format. This conversion serves reproducibility purposes, allowing the ABCD data dictionary to be tracked over time. The repository will be updated every time the ABCD data dictionary changes, with each version appropriately tagged for easy reference. Our conversion does not include the "Imaging" part of the dictionary. The first data dictionary version is not REDCap; later versions will be.

Structure of this Repo

  • abcd_data_dict_v[version].csv: CSV file of the ABCD data dictionary downloaded from the ABCD Study Dictionary website
  • core folder: The core study of ABCD in ReproSchema format, generated by abcd2reproschema.py
  • substudy folder: The substudy of ABCD in ReproSchema format, generated by abcd2reproschema.py
  • abcd2reproschema.py: The Python script converts the ABCD csv file into reproschema format.

Both core and substudy are research protocols containing different activities (questionnaires), where each activity has its questions represented as items. For more information on ReproSchema, please read this documentation.

How to Use/Reproduce this Repo

To reproduce each tagged version, run the following command:

python abcd2reproschema.py --file_path abcd_data_dict_v[version].csv --version version

For example:

python abcd2reproschema.py --file_path abcd_data_dict_v010.csv --version 0.1.0

How to Tag a Version

We did the following steps to tag a version:

  1. Commit changes to the repository:
git add .
git commit -m "Update ABCD data dictionary to version [new_version]"
  1. Create a new tag for the version:
git tag -a v[new_version] -m "ABCD data dictionary version [new_version]"

  1. Push the tags to the remote repository:
git push origin --tags

abcd-redcap2rs's People

Contributors

yibeichan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.