% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/public_finances.R
\name{get_expenditure}
\alias{get_expenditure}
\title{Get Total Managed Expenditure}
\usage{
get_expenditure(refresh = FALSE)
}
\arguments{
\item{refresh}{Logical. If \code{TRUE}, re-download even if a cached copy exists.
Defaults to \code{FALSE}.}
}
\value{
An \code{obr_tbl} with the standard v0.4.0 schema. \code{series} is
\code{"TME"}, \code{metric_type} is \code{"level"}, \code{unit} is \code{"gbp_bn"}. See
\code{\link[=get_public_finances]{get_public_finances()}} for column definitions.
}
\description{
Downloads (and caches) the OBR Public Finances Databank and returns
annual Total Managed Expenditure (TME) in \enc{£}{GBP} billion. TME is
the broadest measure of UK government spending.
}
\examples{
\donttest{
op <- options(obr.cache_dir = tempdir())
try({
  tme <- get_expenditure()
  tail(tme)
})
options(op)
}

}
\seealso{
Other public finances: 
\code{\link{get_psnb}()},
\code{\link{get_psnd}()},
\code{\link{get_public_finances}()},
\code{\link{get_receipts}()}
}
\concept{public finances}
