% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/welfare.R
\name{get_incapacity_spending}
\alias{get_incapacity_spending}
\title{Get incapacity benefits spending by type}
\usage{
get_incapacity_spending(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 the
benefit name, values are spending as a percentage of GDP, \code{metric_type}
is \code{"pct"}, \code{unit} is \code{"pct"}. See \code{\link[=get_public_finances]{get_public_finances()}} for full
column docs.
}
\description{
Downloads (and caches) the OBR Welfare Trends Report charts and tables
workbook and returns annual spending on each incapacity benefit as a
share of GDP, from 1978-79 to the current forecast horizon.
}
\details{
Series include: Invalidity Benefit, Incapacity Benefit, Employment and
Support Allowance (ESA), Sickness Benefit, and Severe Disablement
Allowance.
}
\examples{
\donttest{
op <- options(obr.cache_dir = tempdir())
try({
  ib <- get_incapacity_spending()
  unique(ib$series)
})
options(op)
}

}
\seealso{
Other welfare: 
\code{\link{get_incapacity_caseloads}()},
\code{\link{get_welfare_spending}()}
}
\concept{welfare}
