to_increments: Increments in stocks and flows for a demographic account

Description Usage Arguments Details Value

View source: R/account-functions.R

Description

Create a data frame showing the increments in stocks and flows implied by a demographic account. The increments are arranged by cohort. Births are treated as a type of stock.

Usage

1

Arguments

account

A named list of data frames with the components of the demographic account.

Details

The data frame returned by to_increments includes a column called "discrepancy" which shows increments calculated from stocks minus increments calculated from flows. When all accounting identities are satisfied, the discrepancy column should consist entirely of zeros.

Value

A data frame.


ONSdigital/Bayesian-demographic-accounts documentation built on Jan. 10, 2022, 12:34 a.m.