{"id":23442330,"url":"https://github.com/repronim/abcd-redcap2rs","last_synced_at":"2025-04-09T21:49:07.134Z","repository":{"id":244465964,"uuid":"808766898","full_name":"ReproNim/abcd-redcap2rs","owner":"ReproNim","description":"Converting ABCD REDCap data dictionary to ReproSchema","archived":false,"fork":false,"pushed_at":"2024-06-14T20:06:37.000Z","size":4926,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-09T21:48:51.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ReproNim.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-31T19:16:56.000Z","updated_at":"2024-06-14T20:26:41.000Z","dependencies_parsed_at":"2024-06-14T22:50:57.298Z","dependency_job_id":null,"html_url":"https://github.com/ReproNim/abcd-redcap2rs","commit_stats":null,"previous_names":["repronim/abcd-redcap2rs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Fabcd-redcap2rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Fabcd-redcap2rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Fabcd-redcap2rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReproNim%2Fabcd-redcap2rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReproNim","download_url":"https://codeload.github.com/ReproNim/abcd-redcap2rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248119407,"owners_count":21050754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-23T17:29:25.315Z","updated_at":"2025-04-09T21:49:03.594Z","avatar_url":"https://github.com/ReproNim.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ABCD Study Dictionary to ReproSchema Conversion\n\n## Goal of this Repo\n\nThis repository converts the ABCD data dictionary from [ABCD Study Dictionary](https://data-dict.abcdstudy.org/) to the [ReproSchema](https://github.com/ReproNim/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.\n\n## Structure of this Repo\n\n- `abcd_data_dict_v[version].csv`: CSV file of the ABCD data dictionary downloaded from the [ABCD Study Dictionary website](https://data-dict.abcdstudy.org/)\n- `core` folder: The core study of ABCD in ReproSchema format, generated by `abcd2reproschema.py`\n- `substudy` folder: The substudy of ABCD in ReproSchema format, generated by `abcd2reproschema.py`\n- `abcd2reproschema.py`: The Python script converts the ABCD csv file into reproschema format.\n\nBoth 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](https://www.repronim.org/reproschema/). \n\n## How to Use/Reproduce this Repo\n\nTo reproduce each tagged version, run the following command:\n\n```\npython abcd2reproschema.py --file_path abcd_data_dict_v[version].csv --version version\n```\n\nFor example:\n\n```\npython abcd2reproschema.py --file_path abcd_data_dict_v010.csv --version 0.1.0\n```\n\n### How to Tag a Version\n\nWe did the following steps to tag a version:\n\n1. Commit changes to the repository:\n\n```\ngit add .\ngit commit -m \"Update ABCD data dictionary to version [new_version]\"\n```\n\n2. Create a new tag for the version:\n\n```\ngit tag -a v[new_version] -m \"ABCD data dictionary version [new_version]\"\n\n```\n\n3. Push the tags to the remote repository:\n\n```\ngit push origin --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Fabcd-redcap2rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frepronim%2Fabcd-redcap2rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frepronim%2Fabcd-redcap2rs/lists"}