Skip to contents

The per-pool counterpart to fps_pools(), for stacked figures.

Usage

fps_stocks_by_pool(raw)

Arguments

raw

Tibble from read_fps_raw_out().

Value

A tibble with scenario, replicate, year, pool (the FPSM code), kind ("product" or "special") and stock_tC.

Details

No drop_terminal_year argument is needed here: this function keeps only the annual end-of-year stock reports (types 4 and 5), and the terminal residual rows are types 1 and 2, so they are already excluded. See fps_pools() for why that distinction matters.