Skip to contents

Fetches the UK ETS free-allocation table for stationary installations (OHA) published by DESNZ on GOV.UK. Filename includes a media GUID that changes when DESNZ republishes, so the package scrapes the stable publications landing page.

Usage

co2_ukets_allocations(sector = c("installations", "aviation"), refresh = FALSE)

Arguments

sector

Character. "installations" (default) for stationary installations, "aviation" for aviation allocations.

refresh

Re-download? Default FALSE.

Value

A data frame.

Examples

# \donttest{
op <- options(carbondata.cache_dir = tempdir())
try({
  alloc <- co2_ukets_allocations()
})
#>  Resolving UK ETS installations allocation URL...
#>  Downloading uk-ets-allocation-table-august-2026.xlsx...
options(op)
# }