# Create two-column HTML table for data piping in REDCap instruments Create two-column HTML table for data piping in REDCap instruments ## Usage ``` r create_html_table(text, variable) ``` ## Arguments - text: descriptive text - variable: variable to pipe ## Value character vector ## Examples ``` r create_html_table(text = "Patient ID", variable = c("[cpr]")) #>
Patient ID
[cpr]
create_html_table(text = paste("assessor", 1:2, sep = "_"), variable = c("[cpr]")) #>
assessor_1
[cpr]
assessor_2
[cpr]
# create_html_table(text = c("CPR nummer","Word"), variable = c("[cpr][1]", "[cpr][2]", "[test]")) ```