
Create a data inventory summary for a data chunk
Source:R/data_inventory_table.R
data_inventory_chunk.RdCreate a data inventory summary for a data chunk
Usage
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
datacontains exactly the records to be summarized; pmtables will not add or remove rows prior to summarizingdata- 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 byouterand 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
DVcolumn.- bq_col
Character name of
BQLcolumn; seefind_bq_col().- id_col
Character name of
IDcolumn.- ...
used to absorb other arguments; not used