Creates field-level rules for interpreting blank source values. Data normalization is distinct from panel imputation: it interprets source encoding only and never creates missing organization-year rows.
Called with no arguments, concordance() returns the package's built-in
concordance for IRS 990 efile variables, derived from the concordance990
xpath concordance (see field_concordance). concordance(form = "990PF")
returns the built-in concordance for the 990PF release instead (see
field_concordance_pf). Supply field and blank_meaning to build a custom
concordance instead.
Usage
concordance(
field = NULL,
blank_meaning = NULL,
forms = "*",
table = NA_character_,
notes = NA_character_,
form = "990"
)Arguments
- field
Character vector of source field names.
NULL(the default) returns the built-in 990 concordance.- blank_meaning
Character vector containing
"implicit_zero","implicit_false", or"literal_missing".- forms
A character vector or list. Each rule supplies the applicable return types, such as
c("990", "990EZ"). Character entries may use|as a separator. Use"*"for every form.- table
Optional source-table name for auditing.
- notes
Optional explanatory notes.
- form
Form family of the built-in concordance returned when
fieldisNULL:"990"(default) or"990PF". Ignored otherwise.
See also
field_concordance for the underlying data, fields_in_scope() to
select fields by form scope, and normalize() to apply the rules.