id_first_dict {dbGaPCheckup} | R Documentation |
This utility function reorders the data dictionary so that SUBJECT_ID comes first.
id_first_dict(DD.dict)
DD.dict |
Data dictionary. |
SUBJECT_ID is required to be the first column of the data set and first variable listed in the data dictionary.
Updated data dictionary with SUBJECT_ID as first variable.
data(ExampleQ)
head(DD.dict.Q)
DD.dict.updated <- id_first_dict(DD.dict.Q)
head(DD.dict.updated)