diff --git a/R/revenue.R b/R/revenue.R index 6e9aa5f..c5d99b6 100644 --- a/R/revenue.R +++ b/R/revenue.R @@ -16,8 +16,9 @@ #' combined with other category names, and it is not the same thing as #' `revenue_concept = "total"`: the concept chooses which subtypes are in #' scope, `"All Categories"` chooses whether rows inside that scope are -#' broken out or summed. Combine with `subtype = "operations"` for an -#' own-source revenue total. +#' broken out or summed. Because the result keeps one row per +#' `revenue_subtype`, filtering the returned frame to +#' `revenue_subtype == "own_source"` gives an own-source revenue total. #' @param revenue_concept Which of Census's two published revenue concepts to #' return. Concepts are defined as sets of the crosswalk's `revenue_subtype` #' values -- never as item-code first letters, which cannot classify diff --git a/R/spending.R b/R/spending.R index 9086e64..c30fa26 100644 --- a/R/spending.R +++ b/R/spending.R @@ -78,8 +78,9 @@ #' combined with other category names, and it is not the same thing as #' `expenditure_concept = "total"`: the concept chooses which subtypes are in #' scope, `"All Categories"` chooses whether rows inside that scope are -#' broken out or summed. Combine with `subtype = "operations"` for an -#' operating-expenditure total. +#' broken out or summed. Because the result keeps one row per +#' `spend_subtype`, filtering the returned frame to +#' `spend_subtype == "operations"` gives an operating-expenditure total. #' @param per_capita If `TRUE`, adds `amt_per_capita_nominal` (and #' `amt_per_capita_real` when `adjust_to_year` is set) using the per-year #' Census F-33 population from `gov_population_yearly`. Result also gains diff --git a/man/cog_revenue.Rd b/man/cog_revenue.Rd index de677dd..ab978a1 100644 --- a/man/cog_revenue.Rd +++ b/man/cog_revenue.Rd @@ -29,8 +29,9 @@ category inside the requested concept's subtype scope. It cannot be combined with other category names, and it is not the same thing as `revenue_concept = "total"`: the concept chooses which subtypes are in scope, `"All Categories"` chooses whether rows inside that scope are -broken out or summed. Combine with `subtype = "operations"` for an -own-source revenue total.} +broken out or summed. Because the result keeps one row per +`revenue_subtype`, filtering the returned frame to +`revenue_subtype == "own_source"` gives an own-source revenue total.} \item{per_capita}{If `TRUE`, adds `amt_per_capita_nominal` (and `amt_per_capita_real` when `adjust_to_year` is set) using the per-year diff --git a/man/cog_spending.Rd b/man/cog_spending.Rd index e0dedd2..1fee7d1 100644 --- a/man/cog_spending.Rd +++ b/man/cog_spending.Rd @@ -29,8 +29,9 @@ category inside the requested concept's subtype scope. It cannot be combined with other category names, and it is not the same thing as `expenditure_concept = "total"`: the concept chooses which subtypes are in scope, `"All Categories"` chooses whether rows inside that scope are -broken out or summed. Combine with `subtype = "operations"` for an -operating-expenditure total.} +broken out or summed. Because the result keeps one row per +`spend_subtype`, filtering the returned frame to +`spend_subtype == "operations"` gives an operating-expenditure total.} \item{per_capita}{If `TRUE`, adds `amt_per_capita_nominal` (and `amt_per_capita_real` when `adjust_to_year` is set) using the per-year