Create a data inventory summary for a data chunk

data_inventory_chunk(
  data,
  by,
  panel = by,
  stacked = FALSE,
  tot = FALSE,
  all_name = "all",
  dv_col = "DV",
  bq_col = "BQL",
  id_col = "ID",
  ...
)

Arguments

data

the data frame to summarize; the user should filter or subset so that data contains exactly the records to be summarized; pmtables will not add or remove rows prior to summarizing data

by

the outer grouping variable; may be character or quosure

panel

the panel grouping variable; may be character or quosure

stacked

if TRUE, then independent summaries are created by outer and included in a single table (see examples)

tot

logical indicating if a summary row should be included

all_name

a name to use for the complete data summary

dv_col

character name of DV column

bq_col

character name of BQL column; see find_bq_col()

id_col

character name of ID column

...

used to absorb other arguments; not used