View source: R/ProcessdfDefinitions.R
get_allvarnames | R Documentation |
Survey the main dataset and collect all field names that will be used as specified in definition table. These include basic data fields specified in default_ukb_fields()
, which can be updated accordingly, and the fields in touchscreen columns. If metadata is supplied , it will check if these fields are present in the maindataset.
get_allvarnames(dfDefinitions_processed, dfhtml = NULL, allow_miss = TRUE)
dfDefinitions_processed |
definition table as dataframe |
dfhtml |
the metadata file for main dataset |
a list of character vectors named all_ukb_fields,nondefault_ukb_fields and default_ukb_fields
dfDefinitions_processed <- ProcessDfDefinitions(fread("definitions.tsv", colClasses = 'character', data.table = FALSE))
dfhtml <- read_ukb_metadata(fhtml)
dfDefinitions_ukb_fields <- get_allvarnames(dfDefinitions_processed,dfhtml)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.