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())
alloc <- co2_ukets_allocations()
#>  Resolving UK ETS installations allocation URL...
#>  Downloading uk-ets-allocation-table-april-2026.xlsx...
#> New names:
#>  `` -> `...1`
#>  `` -> `...2`
#>  `` -> `...3`
#>  `` -> `...4`
options(op)
# }