Skip to contents

Corresponds to, for example: https://api.municode.com/CodesContent?jobId=426172&nodeId=THZOORALVI&productId=12429

Usage

get_codes_content(node_id = NULL, product_id)

Arguments

node_id

A unique identifier for a node within the specified product (ordinance)

product_id

A unique identifier for a product

Value

A dataframe with the content and metadata pertaining to a specific node within an ordinance

Examples

get_codes_content(node_id = "SUHITA", product_id = "12429")
#> # A tibble: 3 × 16
#>   id    heading node_type content node_depth has_children parent_id doc_order_id
#>   <chr> <chr>   <chr>     <chr>        <int> <lgl>        <chr>            <int>
#> 1 SUHI… Supple… current   " The …         NA NA           NA                  NA
#> 2 ARTI… ARTICL… next       NA              1 TRUE         12429                3
#> 3 THZO… THE ZO… previous   NA              1 FALSE        12429                1
#> # ℹ 8 more variables: node_key <lgl>, is_updated <lgl>, is_amended <lgl>,
#> #   has_amended_descendant <lgl>, compare_status <int>, doc_type <int>,
#> #   depth_override <lgl>, chunk_group_starting_id <lgl>