% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/transformation.R
\name{run_full_transformation}
\alias{run_full_transformation}
\title{Run full transformation pipeline}
\usage{
run_full_transformation(
  baseline_data,
  zip_zcta_map,
  hud_crosswalk,
  value_col = "estimate",
  county_fips = NULL
)
}
\arguments{
\item{baseline_data}{Data frame with ZCTA-level baseline data}

\item{zip_zcta_map}{ZIP-ZCTA association table}

\item{hud_crosswalk}{HUD ZIP-County crosswalk}

\item{value_col}{Name of value column in baseline_data}

\item{county_fips}{Optional county FIPS to filter final result}
}
\value{
List with intermediate and final results
}
\description{
Executes both hops: ZCTA → ZIP → County.
Tracks the complete swap from observed to imputed data.
}
\examples{
baseline <- data.frame(zcta = c("00001", "00002"), estimate = c(1000, 2000))
zip_zcta <- data.frame(zcta = c("00001", "00002"), zip = c("00010", "00010"))
hud <- data.frame(zip = "00010", county = "99999", tot_ratio = 1)
result <- run_full_transformation(baseline, zip_zcta, hud,
    value_col = "estimate", county_fips = "99999")
}
