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