% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compare.R
\name{run_comparison_checks}
\alias{run_comparison_checks}
\title{Run all version comparison checks between two dataset snapshots}
\usage{
run_comparison_checks(df_current, df_previous, config)
}
\arguments{
\item{df_current}{A data frame. The current delivery.}

\item{df_previous}{A data frame. The previous delivery.}

\item{config}{Named list. Merged configuration as returned by
\code{\link{load_config}}.}
}
\value{
A list of \code{\link{dq_result}} objects. The list carries
  attributes \code{new_cols} and \code{dropped_cols} (character vectors)
  for use by the snapshot writer.
}
\description{
Runs CP-01 to CP-08 comparing a current delivery against the previous one.
}
\examples{
cfg_dir   <- system.file("demonstrations/config", package = "dqcheckr")
cfg       <- load_config("starwars_csv", config_dir = cfg_dir)
curr_path <- system.file("demonstrations/data2/starwars_v2.csv", package = "dqcheckr")
prev_path <- system.file("demonstrations/data2/starwars_v1.csv", package = "dqcheckr")
curr      <- read_dataset(curr_path, cfg)
prev      <- read_dataset(prev_path, cfg)
results   <- run_comparison_checks(curr, prev, cfg)

}
