
Extract structured fields from an SIU director's-report text or URL.
Source:R/datasets.R
morie_datasets_siu_report_fields.RdExtract structured fields from an SIU director's-report text or URL.
Examples
text <- paste0(
"Report 24-OFD-001 incident dated January 5, 2024. ",
"Director's Decision: no charges. Issued: later."
)
out <- morie_datasets_siu_report_fields(text)
out$report_id
#> [1] "24-OFD-001"
out$incident_date
#> [1] "January 5, 2024"