Get raw HTML content and markdown for a given node within a given ordinance
get_section_html.RdIdentical to get_section_text() but preserves the raw HTML in a
content_html column instead of stripping tags, and adds a content_markdown
column with a markdown conversion. This is critical for extracting data from
sections that contain HTML tables (e.g., dimensional standards).
Usage
get_section_html(
node_id = NULL,
product_id,
job_id = NULL,
past_job_id = NULL,
show_changes = FALSE
)Arguments
- node_id
A unique identifier for a node within the specified product (ordinance)
- product_id
A unique identifier for a product
- job_id
Optional job identifier; required when
show_changes = TRUE- past_job_id
Optional prior job identifier to diff against; required when
show_changes = TRUE- show_changes
If
TRUE, request a redline comparison ofjob_idagainstpast_job_id. The insertion/deletion markup is preserved in the returnedcontent_htmlcolumn.