Adds field column entries from a dataframe to a file

bio_field_add(data, out = "ukb_field_subset.txt")

Arguments

data

A dataframe with obligatory column field. (Ideally the output of bio_field.)

out

Field subset file name (including path). Default "ukb_field_subset", writes or appends fields one per line to "ukb_field_subset" in the current directory.

Value

A file with one field per line (no header). If the file exists, the additional fields are appended.