Resolve the subject-official count from SIU report text
Source:R/parse_siu.R
bricklayer_siu_resolve_so.RdDeterministic, reproducible extraction of the subject-official (SO)
count for reports where a model panel (or a human) is unsure. The
standard SIU privacy boilerplate is stripped first, then rules apply
most-specific first: highest SO #N ordinal; spelled-out plural;
singular subject official present (1); witness-official-only (0, a real
answer); otherwise unresolved ( NA) .
Arguments
- text
A length-1 character vector of plain report text (see
bricklayer_siu_text()) .