Skip to contents

taf_catalog() reads a TIGER-derived catalog of ZIP codes present in each county's TIGER address feature file for a specific year and addr TAF schema version. The catalog is installed with the package and is used to plan which county TAF files may be needed for a set of ZIP codes. It is separate from the local install manifest, which records only files installed on the current machine.

Usage

taf_catalog(year = as.character(2025:2011), version = "v2")

Arguments

year

character, length 1; vintage of TIGER addrfeat (address feature) files

version

character, length 1; major version of the package and taf dataset schema

Value

a tibble with county_fips, ZIP, zip3, zip2, and n_ranges columns

Examples

taf_catalog("2025")
#> # A tibble: 55,260 × 5
#>    county_fips ZIP   zip3  zip2  n_ranges
#>    <chr>       <chr> <chr> <chr>    <int>
#>  1 72059       00565 005   65           1
#>  2 72131       00586 005   86           2
#>  3 72001       00601 006   01         625
#>  4 72081       00601 006   01           2
#>  5 72001       00602 006   02           1
#>  6 72003       00602 006   02         870
#>  7 72005       00602 006   02           1
#>  8 72011       00602 006   02           6
#>  9 72003       00603 006   03           4
#> 10 72005       00603 006   03        2523
#> # ℹ 55,250 more rows