View source: R/ProcessdfDefinitions.R
PreProcessDfDefinitions | R Documentation |
This function preprocess definition table - formatting and remove extra characters as well as additional description following column names (in brackets)
PreProcessDfDefinitions(df, VctAllColumns, VctColstoupper = NULL)
df |
definitiion table as dataframe |
VctAllColumns |
character vector containing all column names of interest (as shown in table) where preprocessing is performed |
VctColstoupper |
character vector containing all column names without brackets for which the characters in columns will be converted to uppercase. |
df
PreProcessDfDefinitions(df,c("TS(Touchscreen)","ICD10", "ICD9", "OPCS4","OPCS3","READ2","READ2_drugs", "CTV3","BNF","DMD","f.20001(sr_cancer)", "f.20002(sr_noncancer)", "f.20003(sr_med)", "f.20004(sr_oper)"),c("ICD10","ICD9","OPCS4","OPCS3"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.