rmgpanw / ukbwranglr

R package for UK Biobank data wrangling.
https://rmgpanw.github.io/ukbwranglr/
Other
14 stars 1 forks source link

Extract field/instance/array from column header #3

Open rmgpanw opened 2 years ago

rmgpanw commented 2 years ago

Check colname_to_field_inst_array_df() - raise error if unable to extract instance/array from column header?

See https://rmgpanw.github.io/ukbwranglr/reference/tidy_clinical_events.html. Index/array are NA

Also needs amending to recognise new colheader format on UKB RAP.

rmgpanw commented 2 years ago

See regexps in format_ukb_df_header().