Learn R Programming

REDCapCAST (version 24.12.1)

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

Description

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

Usage

create_html_table(text, variable)

Value

character vector

Arguments

text

descriptive text

variable

variable to pipe

Examples

Run this code
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]"))

Run the code above in your browser using DataLab