create_html_table function

Create two-column HTML table for data piping in REDCap instruments

Create two-column HTML table for data piping in REDCap instruments

create_html_table(text, variable)

Arguments

  • text: descriptive text
  • variable: variable to pipe

Returns

character vector

Examples

create_html_table(text = "Patient ID", variable = c("[cpr]")) create_html_table(text = paste("assessor", 1:2, sep = "_"), variable = c("[cpr]")) # create_html_table(text = c("CPR nummer","Word"), variable = c("[cpr][1]", "[cpr][2]", "[test]"))