ccd_select_table: Create the table for ccTable from ccRecord

Description Usage Arguments Value

Description

Create the table for ccTable from ccRecord

Usage

1
2
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


cleanEHR documentation built on May 2, 2019, 6:40 a.m.