% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data-missing.R
\name{tr_check_missing}
\alias{tr_check_missing}
\title{Check missing data in a clinical dataset}
\usage{
tr_check_missing(data)
}
\arguments{
\item{data}{A data frame, typically the output of \code{tr_load_clinical()}.}
}
\value{
Invisibly returns a summary tibble (columns, n_missing, pct_missing).
Also prints a summary to console and displays a missingness plot as a
side effect.
}
\description{
Produces a summary table of missingness per column, plus a visual plot
showing the pattern of missing data across the dataset.
}
\examples{
df <- data.frame(a = c(1, NA, 3), b = c(4, 5, NA))
tr_check_missing(df)
}
