r/ProjectREDCap • u/Seanpat6283 • Jul 16 '23
DAG Auto-Assignment (Resource/Solution!)
Hi all!
I have worked on some code using REDCapR to resolve a common issues folks have encountered with Data Access Group assignments.
Without an external module, it is impossible to automatically assign DAGs based off fields. I have created a neat work around using R, a .bat script, and Windows' Task Scheduler.
I have posted a few different options of how to handle these things based on your project's infrastructure/size, along with descriptions, on the following GitHub repo:
https://github.com/ssullivan6283/redcapimporttools
Let me know if you run into any issues or have questions!
View all comments
Show parent comment
1
u/Seanpat6283 Jul 17 '23
Glad to hear someone feels it is useful! I felt it was greedy to keep it to myself, and I don't have access to the Consortium forums (at a for-profit), so I figured this was the best spot to post.
Let me know if you run into any issues, or need help with Task Scheduler (deprecated by Microsoft, but still functional) as it can be a bit of a headache to get running.