-
Notifications
You must be signed in to change notification settings - Fork 16
R export: Added variable labels, extra metadata, fixed partial date #5
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
base: master
Are you sure you want to change the base?
Conversation
I will commit some improvements later, so please don't merge yet. |
Thanks for these. I have a couple of minor requests - could you please:
|
Thanks for the feedback. Should I move to a new folder like the sas_singular so I can separate the example and include a readme? Suggestion: r_with_factors |
Sounds good, thanks 👍 |
Hi Menno and Lindsay, |
Hi @GerbenRienk, I haven't merged this mainly because there was no comment to say it was finished or at least ready for another look. Given the long pause, this branch may well be ready to use. I will probably not have time to check that it works for a while. |
Added the variable labels to the dataframe
For meta data I added simple descriptions, variables get their own label and the f.variables for codelists get the codelist name.
Extra metadata
ProtocolID / Site ID
Date of birth or Year of birth
Person ID
Secondary ID
Status for Subject, Event & CRF
Event start/end date + location
Interviewer name and date for CRF
Fixed the partial date
It was output as a number, shopwing essentially just the year