cdr_RT2DT_primary: Format the primary R table into a DT

View source: R/cdr_RT2DT_primary.R

cdr_RT2DT_primaryR Documentation

Format the primary R table into a DT

Description

Format the primary R table into a DT

Usage

cdr_RT2DT_primary(db_tbl, cell_edit_permission, lock_fields = c())

Arguments

db_tbl

change log table imparted from the DB

cell_edit_permission

bool: do you want to allow the admin table cells to be edited

lock_fields

strings: column names you want to lock up e.g. c('Species','Petal.Width')

Value

a DT object to present the primary table

Examples

## Not run: 
crudr:::cdr_RT2DT_primary(iris, cell_edit_permission = T)

## End(Not run)


eauleaf/crudr documentation built on Jan. 29, 2024, 4:39 p.m.