This is a convenience wrapper around pt_data_inventory

pt_data_study(data, study_col = "STUDY", panel = study_col, ...)

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

study_col

the name of the column containing the study identifier; may be character or quosure (see dplyr::vars)

panel

another categorical data set column name to stratify the data summary

...

other arguments passed to pt_data_inventory and data_inventory_chunk

Examples

ans <- pt_data_study(pmt_pk, study_col = "STUDYf") if (FALSE) { st2report(stable(ans)) }