Get information about a given node's children
get_codes_toc_children.Rd
Corresponds to, for example: https://api.municode.com/codesToc/children?jobId=426172&nodeId=ARTIGERE&productId=12429
Examples
get_codes_toc_children(job_id = 426172, node_id = "ARTIGERE", product_id = 12429)
#> # A tibble: 9 × 16
#> name id heading node_depth has_children parent_id doc_order_id children
#> <int> <chr> <chr> <int> <lgl> <chr> <int> <lgl>
#> 1 1 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 4 NA
#> 2 2 ARTIGER… 1-101 … 2 FALSE ARTIGERE 5 NA
#> 3 3 ARTIGER… 1-102 … 2 FALSE ARTIGERE 6 NA
#> 4 4 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 7 NA
#> 5 5 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 8 NA
#> 6 6 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 9 NA
#> 7 7 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 10 NA
#> 8 8 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 11 NA
#> 9 9 ARTIGER… Sec. 1… 2 FALSE ARTIGERE 12 NA
#> # ℹ 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>