ccd_select_table: Create the table for ccTable from ccRecord

View source: R/ccTable.R

ccd_select_tableR Documentation

Create the table for ccTable from ccRecord

Description

Create the table for ccTable from ccRecord

Usage

ccd_select_table(record, items_opt = NULL, items_obg = NULL, freq,
  return_list = FALSE)

Arguments

record

ccRecord

items_opt

character vectors. Items (HIC code) selected in item_opt are optional items, which will be automatically filled when item is missing.

items_obg

obligatory items that is obligatory; Any episode that does not contain item in this vector will be removed.

freq

numeric cadence in hour.

return_list

logical if TRUE return as a list.

Value

data.table


CC-HIC/cleanEHR documentation built on Aug. 28, 2022, 10:33 a.m.