pt_data_study: Data inventory by study

View source: R/data_inventory_table.R

pt_data_studyR Documentation

Data inventory by study

Description

This is a convenience wrapper around pt_data_inventory

Usage

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")

## Not run: 
st2report(stable(ans))

## End(Not run)


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.