A convenience wrapper around fiscal_health_fit(),
fiscal_health_score(), fiscal_weights(), and
fiscal_health_index(). It deliberately does not automate diagnostics,
triage, or dimension discovery because those stages require review and
substantive judgment.
Arguments
- data
A reference or scoring data frame.
- dimensions
A reviewed
fiscal_dimensionsobject or named list of indicator groups. Required whenfitis not supplied.- fit
An existing
fiscal_health_fitobject for scoring new data.- weights
A
fiscal_weightsobject, a named numeric vector of custom weights, orNULLfor equal weights.- index
Construct the composite fiscal-health index.
- fit_args
Named list of additional arguments for
fiscal_health_fit(). Used only when fitting a new model.- score_args
Named list of additional arguments for
fiscal_health_score().- weight_args
Named list of additional arguments for
fiscal_weights()whenweightsis not already afiscal_weightsobject.- index_args
Named list of additional arguments for
fiscal_health_index().