# NOT RUN {
# Simply provide the stem of the UKB fileset.
# To read ukb1234.tab, ukb1234.r, ukb1234.html
my_ukb_data <- ukb_df("ukb1234")
If you have multiple UKB filesets, read each then join with your preferred
method (ukb_df_full_join is
a thin wrapper around dplyr::full_join applied recursively with
purrr::reduce).
ukb1234_data <- ukb_df("ukb1234")
ukb2345_data <- ukb_df("ukb2345")
ukb3456_data <- ukb_df("ukb3456")
ukb_df_full_join(ukb1234_data, ukb2345_data, ukb3456_data)
# }
# NOT RUN {
# }
Run the code above in your browser using DataCamp Workspace