Closed liud4 closed 5 years ago
I looked into this and it is because there is no variable by the name of enrolled_dx_factor
in any of the epoch0 or epoch1 projects. Since the label is coming from the REDCap metadata, this is one of the variables we will need to manually add a label for. I am being cognizant of this while I code for this package. For example, see today's commit for missingtoNA.R
that deals with the issue of conflict of adding a labelled attribute to the class of a vector.
Would you like me to create a new MAP merge and manually add that in @liud4?
This variable is defined as the one of the baseline variable that should not change over time. The corresponding variable that will change with epoch is named diagnosis.factor (which comes from the metadata).
We could just add label where this variable is defined in the main program (the rmd file).
Please make sure to add tot.complaint.gifford.46 and AD signature related derivations.
Please add CoW derivation.
Derivation for np.tmtb.trun.log is added in neuropsych.R (line 62).
Derivation for np.tmtb.trun.log is added in neuropsych.R (line 62).
@liud4, is this a change that you created? I don't have a script called "neuropsych.R" so perhaps you didn't make the change in the package itself. The correct file is "derive_neuropsych.R" and if you tell me the change made for deriving np.tmtb.trun.log
, I can add it in.
It seems "enrolled.dx.factor" does not have a label.