-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert Redcap2ReproSchema.js
to redcap2reproschema.py
#30
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Redcap2ReproSchema.js
to redcap2reproschema.py
Redcap2ReproSchema.js
to redcap2reproschema.py
i tested it using a redcap dictionary (two assessments combined from the redcap library) and the outputs are here, pretty good |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
i realized that we don't need to specify a github handler in this case. in the javascript version, it (github repo url) was needed to generate protocol-specific context. we don't need such context here. so, this PR is 100% done. I'm gonna move to other tasks. |
for more information, see https://pre-commit.ci
here i converted/translated RedCap2ReproSchema.js to a python file
reproschema/redcap2reproschema.py
Changes include:
redcap2reproschema.py
with unnecessary functions (e.g., create context file for each activity).yaml
file (templates/redcap2rs.yaml
) for predefined metadataREADME.md
with instructions on how to use it as CLI and as a python function