Skip to contents

Corresponds to, for example: https://api.municode.com/ClientContent/12053

Usage

get_client_content(client_id)

Arguments

client_id

A code corresponding to a given client; this can be obtained from get_clients_in_state()

Value

A dataframe with metadata about each product for a client (e.g., code of ordinances, zoning, etc.)

Examples

get_client_content(980) ## Alexandria, VA
#> # A tibble: 2 × 10
#>   product_name       product_id latest_updated_date has_ordbank content_type_id
#>   <chr>                   <int> <chr>               <lgl>       <chr>          
#> 1 Code of Ordinances      10349 2025-02-21T19:58:16 TRUE        CODES          
#> 2 Zoning                  12429 2025-02-20T12:31:09 TRUE        CODES          
#> # ℹ 5 more variables: new_ord_count <int>, hide_in_library <lgl>,
#> #   has_pdf_download_enabled <lgl>, has_pdf <lgl>, publication_id <int>