Skip to contents

nad_catalog() reads the revision-specific catalog installed with addr. The catalog describes counties that can be mapped unambiguously from the pinned NAD source to Census county FIPS identifiers. It is distinct from nad_manifest(), which inventories county Parquet files installed in the current user's data directory.

Usage

nad_catalog(version = 23L)

Arguments

version

integer, length one; NAD revision to use. Only revision 23 is supported.

Value

A tibble with one row per source-available county and columns county_fips, state, county, source_county, source_row_count, and nad_revision.

Details

NAD23 does not include a county FIPS field. For six county/independent-city pairs, the source uses an unsuffixed label for the county and a separate explicit city label for the independent city. The catalog preserves those exact source labels while mapping each one to its distinct county FIPS code. source_row_count counts raw NAD records before county installation removes records with malformed ZIP codes.

Examples

nad_catalog()
#> # A tibble: 2,259 × 6
#>    county_fips state county          source_county source_row_count nad_revision
#>    <chr>       <chr> <chr>           <chr>                    <dbl>        <int>
#>  1 02013       AK    Aleutians East  Aleutians Ea…              523           23
#>  2 02016       AK    Aleutians West  Aleutians We…              918           23
#>  3 02020       AK    Anchorage       Anchorage Mu…           128962           23
#>  4 02050       AK    Bethel          Bethel Censu…              902           23
#>  5 02060       AK    Bristol Bay     Bristol Bay …              928           23
#>  6 02063       AK    Chugach         Chugach Cens…             3575           23
#>  7 02068       AK    Denali          Denali Borou…              704           23
#>  8 02070       AK    Dillingham      Dillingham C…             1158           23
#>  9 02090       AK    Fairbanks Nort… Fairbanks No…            43286           23
#> 10 02100       AK    Haines          Haines Borou…             2048           23
#> # ℹ 2,249 more rows