feat: cog_balances(), a reader surface for cash and security holdings (#25) #28
@@ -64,7 +64,7 @@ Any value without `://` is treated as a local path by `.is_local_path()` and rea
|
|||||||
|
|
||||||
**Version:** 0.1.0 (pre-release)
|
**Version:** 0.1.0 (pre-release)
|
||||||
**Branch:** `main`, commit `d65e9fe`
|
**Branch:** `main`, commit `d65e9fe`
|
||||||
**Tests:** 763 PASS / 0 FAIL / 0 SKIP (measured `testthat::test_local()`, 2026-08-03)
|
**Tests:** 764 PASS / 0 FAIL / 0 SKIP (measured `testthat::test_local()`, 2026-08-03, on the tree including the balance_caveats schema test)
|
||||||
**CI:** Gitea Actions green (`.gitea/workflows/ci.yml`)
|
**CI:** Gitea Actions green (`.gitea/workflows/ci.yml`)
|
||||||
|
|
||||||
### Completed (Tasks 2.1–2.7)
|
### Completed (Tasks 2.1–2.7)
|
||||||
|
|||||||
+4
-4
@@ -42,10 +42,10 @@
|
|||||||
#' wide era to the modern one.
|
#' wide era to the modern one.
|
||||||
#'
|
#'
|
||||||
#' @return Tibble with columns `year`, `canonical_govid`, `gov_name`,
|
#' @return Tibble with columns `year`, `canonical_govid`, `gov_name`,
|
||||||
#' `balance_subtype`, `category`, `amt_nominal`, optional
|
#' `balance_subtype`, `category`, `amt_nominal`, `codes_included`,
|
||||||
#' `amt_per_capita_nominal` and `pop_source` (when `per_capita = TRUE`),
|
#' `aggregate_fallback`, plus optional `amt_per_capita_nominal` and
|
||||||
#' optional `amt_real` and `amt_per_capita_real` (when `adjust_to_year` is
|
#' `pop_source` (when `per_capita = TRUE`), and optional `amt_real` and
|
||||||
#' set), `codes_included`, `aggregate_fallback`, `notes`. Amounts are full
|
#' `amt_per_capita_real` (when `adjust_to_year` is set). Amounts are full
|
||||||
#' US dollars.
|
#' US dollars.
|
||||||
#'
|
#'
|
||||||
#' Carries a `provenance` attribute matching
|
#' Carries a `provenance` attribute matching
|
||||||
|
|||||||
+4
-4
@@ -47,10 +47,10 @@ wide era to the modern one.}
|
|||||||
}
|
}
|
||||||
\value{
|
\value{
|
||||||
Tibble with columns `year`, `canonical_govid`, `gov_name`,
|
Tibble with columns `year`, `canonical_govid`, `gov_name`,
|
||||||
`balance_subtype`, `category`, `amt_nominal`, optional
|
`balance_subtype`, `category`, `amt_nominal`, `codes_included`,
|
||||||
`amt_per_capita_nominal` and `pop_source` (when `per_capita = TRUE`),
|
`aggregate_fallback`, plus optional `amt_per_capita_nominal` and
|
||||||
optional `amt_real` and `amt_per_capita_real` (when `adjust_to_year` is
|
`pop_source` (when `per_capita = TRUE`), and optional `amt_real` and
|
||||||
set), `codes_included`, `aggregate_fallback`, `notes`. Amounts are full
|
`amt_per_capita_real` (when `adjust_to_year` is set). Amounts are full
|
||||||
US dollars.
|
US dollars.
|
||||||
|
|
||||||
Carries a `provenance` attribute matching
|
Carries a `provenance` attribute matching
|
||||||
|
|||||||
Reference in New Issue
Block a user