From 6d2e644ef8a1580b69229813183eeb824bff7473 Mon Sep 17 00:00:00 2001 From: Jared Knowles Date: Wed, 4 Nov 2026 14:10:13 -0500 Subject: [PATCH] docs(api): say which survey years have no fiscal periods (#77) Measured across all 56 years on the public corpus: 99% of FY1993 government-years have no usable fiscal_year_end, as do 5% to 11% in FY1978 and FY1987 to FY1990, and under 3% elsewhere. The table is on #77. Refs #77 Co-Authored-By: Claude Opus 5.5 --- R/fiscal.R | 4 +++- man/cog_fiscal_periods.Rd | 4 +++- man/cog_survey_year.Rd | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/R/fiscal.R b/R/fiscal.R index e8ac14e..31e154a 100644 --- a/R/fiscal.R +++ b/R/fiscal.R @@ -227,7 +227,9 @@ #' A government can change its fiscal year end, so the periods are looked up #' per government-year. Where the corpus has no `fiscal_year_end` for a #' government-year, or the government has no rows that year, the period is -#' `NA`. +#' `NA`. Most of FY1993 is `NA`: 99% of its government-years have no usable +#' value in the public corpus as of November 2026. So do 5% to 11% in FY1978 +#' and FY1987 to FY1990, and under 3% in every other year. #' #' From FY2023 the source files mark some rows as estimates carried forward #' from an earlier year. The periods here describe the survey year, not the diff --git a/man/cog_fiscal_periods.Rd b/man/cog_fiscal_periods.Rd index 61bc5e1..5b5448f 100644 --- a/man/cog_fiscal_periods.Rd +++ b/man/cog_fiscal_periods.Rd @@ -57,7 +57,9 @@ the same months. A government can change its fiscal year end, so the periods are looked up per government-year. Where the corpus has no `fiscal_year_end` for a government-year, or the government has no rows that year, the period is -`NA`. +`NA`. Most of FY1993 is `NA`: 99% of its government-years have no usable +value in the public corpus as of November 2026. So do 5% to 11% in FY1978 +and FY1987 to FY1990, and under 3% in every other year. From FY2023 the source files mark some rows as estimates carried forward from an earlier year. The periods here describe the survey year, not the diff --git a/man/cog_survey_year.Rd b/man/cog_survey_year.Rd index 475a7e3..ef9d19a 100644 --- a/man/cog_survey_year.Rd +++ b/man/cog_survey_year.Rd @@ -68,7 +68,9 @@ the same months. A government can change its fiscal year end, so the periods are looked up per government-year. Where the corpus has no `fiscal_year_end` for a government-year, or the government has no rows that year, the period is -`NA`. +`NA`. Most of FY1993 is `NA`: 99% of its government-years have no usable +value in the public corpus as of November 2026. So do 5% to 11% in FY1978 +and FY1987 to FY1990, and under 3% in every other year. From FY2023 the source files mark some rows as estimates carried forward from an earlier year. The periods here describe the survey year, not the