Generate Results using Table and Column Metadata
generate_results(
table_metadata,
column_metadata_file = NULL,
column_metadata = NULL,
env = parent.frame(),
tbltype = NULL,
add_count = FALSE
)dataframe containing table metadata (see ?table_metadata for details)
An excel file with the data for column_metadata.
The file is read in with readxl::read_excel(). Should not be used with
column_metadata argument. Results in a dataframe containing the column
metadata that is passed to tlgsetup (see tlgsetup() for details). If a
column_metadata dataframe is passed in too, this is ignored.
A dataframe containing the column metadata. This will
be used in place of column_metadata_file.
environment to find dataframe specified in the table metadata (defaults to parent environment)
If used, this will be used to subset the column_metadata based
on the tbltype column.
Passed to bind_table() should counts be added for
tablebyvars?
dataframe of results