selectTable: Create wide table from ccRecord

Description Usage Arguments Value

Description

Create wide table from ccRecord

Usage

1
2
selectTable(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 doesn't 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/ccdata documentation built on May 6, 2019, 9:23 a.m.