Renames a dataframe with UKB fields as column names with descriptive names.
bio_rename(data, field_finder)
A dataframe with UKB field column names replaced with descriptive column names.
Note: Before using bio_rename
, if duplicate fields
exist, they will have a basket ID suffix. Drop the duplicates you do
not want, and rename the remaining fields by dropping the
_<basket_id>
suffix.