Skip to contents

Fetches the California Cap-and-Trade program overall cap and allocation channels, by vintage year.

Usage

co2_california_caps(refresh = FALSE)

Arguments

refresh

Re-download? Default FALSE.

Value

A data frame.

Examples

# \donttest{
op <- options(carbondata.cache_dir = tempdir())
try({
  caps <- co2_california_caps()
})
#>  Downloading California overall caps...
#> Error in co2_download(url, dest, refresh = refresh) : Download of
#> <https://ww2.arb.ca.gov/sites/default/files/2025-06/nc-OverallCaps.csv>
#> returned HTTP 202 with an empty body.
#>  The publisher may be refusing automated clients from this network.
#>   Retry later, or report at
#>   https://github.com/charlescoverdale/carbondata/issues.
options(op)
# }