Skip to contents

Corresponds to, for example: https://api.municode.com/CodesChangedDocs?jobId=494092&productId=15441 Returns the set of sections (nodes) that were added or amended in the specified job relative to the preceding version. Useful for tracking ordinance changes over time; pair with get_version_history() to walk versions and get_section_html() (with show_changes = TRUE) to retrieve the redline for each changed node.

Usage

get_changed_sections(job_id, product_id)

Arguments

job_id

A unique identifier for a job

product_id

A unique identifier for a product

Value

A dataframe with one row per changed section and the columns node_id, title, compare_status (an undocumented change-type code), and ancestor_path (the node's breadcrumb, titles joined by " > "). Returns a zero-row dataframe when the version introduced no changes.

Examples

if (FALSE) { # \dontrun{
get_changed_sections(job_id = 494092, product_id = 15441)
} # }