
Parse one SIU director's report into the full 16-field schema
Source:R/siu_fetch.R
morie_siu_parse_report.RdDelegates to the compiled parser in the ecosystem's C/C++ foundation
package, rmoriebricklayer (>= 0.3.5): the sixteen panel-reviewed
schema fields (dates, investigator counts, witness/subject-official
counts, injuries, legislation, ...) plus _language, extracted
deterministically and offline. This supersedes the conservative
six-field regex parse used by morie_siu_fetch_cases(), which
itself now routes through the same compiled parser when available.
Examples
f <- morie_siu_parse_report(system.file("extdata",
"siu_synthetic_report.html", package = "rmoriebricklayer"))
f[["number_of_subject_officers"]]
#> [1] "2"