Get text and metadata for a given node within a given ordinance
get_section_text.RdCorresponds to, for example: https://api.municode.com/CodesContent?jobId=426172&nodeId=THZOORALVI&productId=12429
Usage
get_section_text(
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. Note thatget_section_text()strips HTML, which discards the insertion/deletion markup; useget_section_html()to retain the redline in thecontent_htmlcolumn.