Main Function to Decode Fields from Codings using Duck DB

decode_df_db(df, coding)

Arguments

coding

Examples

data(coding_dict)
data(cohort)
data(data_dict)

cdata <- merge_coding_data_dict(coding_dict, data_dict)

cohort |>
  decode_df_db(cdata)
#> Error in decode_df_db(cohort, cdata): could not find function "decode_df_db"