View source: R/paper_emissions.R
paper_emissions | R Documentation |
Computes embodied GHG emissions for paper using uk_gov_data
rows with
Level 2 = "Paper". Material-use factors come from
Level 1 = "Material use", Column Text = material_production
.
Waste factors come from Level 1 = "Waste disposal", Column Text = waste_disposal
.
Factors are kg CO2e per tonne.
paper_emissions(
use = stats::setNames(numeric(), character()),
waste = TRUE,
material_production = "Primary material production",
waste_disposal = c("Closed-loop", "Combustion", "Composting", "Landfill"),
units = c("kg", "tonnes"),
value_col = c("value", "value_2024"),
strict = TRUE
)
use |
Named numeric vector of paper quantities in tonnes.
Names matched case/space/punctuation-insensitively to |
waste |
Logical. If |
material_production |
Either a single string applied to all paper types
(e.g., |
waste_disposal |
One of |
units |
Output units: |
value_col |
Which numeric column in |
strict |
If |
Numeric total emissions in requested units
.
# Closed-loop source for all paper types; landfill; waste = use
paper_emissions(
use = c(board = 10, paper = 100),
material_production = "Closed-loop source",
waste_disposal = "Landfill",
waste = TRUE
)
# Per-material: board closed-loop, mixed primary (default), no waste
paper_emissions(
use = c(board = 5, mixed = 2),
material_production = c(board = "closed loop"),
waste = FALSE,
value_col = "value_2024",
units = "tonnes"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.