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 = "v1")

Arguments

year

integer, length one; vintage of TIGER addrfeat (address feature) files

version

character, length one; 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: 54,747 × 5
#>    county_fips ZIP   zip3  zip2  n_ranges
#>    <chr>       <chr> <chr> <chr>    <int>
#>  1 25013       01001 010   01        1491
#>  2 25011       01002 010   02          58
#>  3 25015       01002 010   02        1946
#>  4 25015       01003 010   03          75
#>  5 25027       01005 010   05         708
#>  6 25015       01007 010   07        1255
#>  7 25003       01008 010   08          33
#>  8 25013       01008 010   08         263
#>  9 25013       01009 010   09          93
#> 10 25013       01010 010   10         464
#> # ℹ 54,737 more rows