% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hmrc_stamp_duty.R
\name{hmrc_stamp_duty}
\alias{hmrc_stamp_duty}
\title{Download HMRC stamp duty receipts}
\source{
\url{https://www.gov.uk/government/statistics/uk-stamp-tax-statistics}
}
\usage{
hmrc_stamp_duty(type = NULL, cache = TRUE)
}
\arguments{
\item{type}{Character vector or \code{NULL} (default = all types).
Valid values: \code{"sdlt_property"}, \code{"sdlt_leases"}, \code{"sdlt_total"},
\code{"sdrt"}, \code{"stamp_duty"}, \code{"total"}.}

\item{cache}{Logical. Use cached file if available (default \code{TRUE}).}
}
\value{
An \code{hmrc_tbl} with columns \code{tax_year}, \code{type}, \code{description},
\code{receipts_gbp_m} (rounded to nearest GBP 5m by HMRC).
}
\description{
Downloads and tidies the HMRC Annual Stamp Tax Statistics, covering
Stamp Duty Land Tax (SDLT), Stamp Duty Reserve Tax (SDRT) on shares,
and other stamp duties. Annual data from 2003-04 to the most recent
financial year, published each December.
}
\examples{
\donttest{
op <- options(hmrc.cache_dir = tempdir())
hmrc_stamp_duty()
hmrc_stamp_duty(type = "sdlt_total")
options(op)
}

}
\seealso{
Other data fetchers: 
\code{\link{hmrc_capital_gains}()},
\code{\link{hmrc_corporation_tax}()},
\code{\link{hmrc_creative_industries}()},
\code{\link{hmrc_fuel_duties}()},
\code{\link{hmrc_income_tax_stats}()},
\code{\link{hmrc_inheritance_tax}()},
\code{\link{hmrc_patent_box}()},
\code{\link{hmrc_property_transactions}()},
\code{\link{hmrc_rd_credits}()},
\code{\link{hmrc_tax_gap}()},
\code{\link{hmrc_tax_receipts}()},
\code{\link{hmrc_tobacco_duties}()},
\code{\link{hmrc_vat}()}
}
\concept{data fetchers}
