You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REDCap exports data with specific numeric codes that line up with its data dictionary. Both these files can be obtained via the API, but there is no simple conversion for the encoding of radio or checkbox items.
e.g. the data dictionary will list something like "1, Yes | 2, No"
Proposed feature
Add functionality to take in exported data and data-dictionary, and re-encode radio buttons (probably as factors) and checkbox buttons (as list-columns perhaps?)
Additional notes
I had originally looked at REDCapR, but this feature seems to me to be further downstream of obtaining the data, and this package already has functions for doing data wrangling/cleaning.
I'm happy to collaborate on this (not at this exact time, but I can find time over the summer). LMK if that works or whatever your preference is!
The text was updated successfully, but these errors were encountered:
Thanks for the ideas @ha0ye. Adding tools to cleanly handle factors would be a big help for novices.
We have a new release of tidyREDCap that we are testing (for a likely release this week). Once that is out the door we are going to work on shifting our code to depend on REDCapR instead of the REDCapAPI package. So, your suggestion fits nicely with our plans.
One of our team is about to take time off to have a baby. So, we need to pause our development until the middle of June. We will reach out when we pick up again.
My problem
REDCap exports data with specific numeric codes that line up with its data dictionary. Both these files can be obtained via the API, but there is no simple conversion for the encoding of radio or checkbox items.
e.g. the data dictionary will list something like
"1, Yes | 2, No"
Proposed feature
Add functionality to take in exported data and data-dictionary, and re-encode radio buttons (probably as factors) and checkbox buttons (as list-columns perhaps?)
Additional notes
I had originally looked at REDCapR, but this feature seems to me to be further downstream of obtaining the data, and this package already has functions for doing data wrangling/cleaning.
I'm happy to collaborate on this (not at this exact time, but I can find time over the summer). LMK if that works or whatever your preference is!
The text was updated successfully, but these errors were encountered: