bricklayer_parse_siu: Parse an SIU director's report into the schema fields

View source: R/parse_siu.R

bricklayer_parse_siuR Documentation

Parse an SIU director's report into the schema fields

Description

Deterministic, offline extraction of every bricklayer_siu_schema() field (plus ⁠_language⁠) from report HTML. Fields the report does not state come back as "".

Usage

bricklayer_parse_siu(html)

Arguments

html

A length-1 character vector of raw report HTML, or the path to a saved report file (e.g. from bricklayer_fetch_siu()).

Value

A named character vector: the 16 schema fields plus ⁠_language⁠.

Examples

f <- bricklayer_parse_siu(system.file("extdata",
                                      "siu_synthetic_report.html",
                                      package = "rmoriebricklayer"))
f[["number_of_subject_officers"]]

rmoriebricklayer documentation built on Aug. 5, 2026, 9:08 a.m.