Skip to contents

TIGER address features (street address ranges) are read from compressed addrfeat (address feature) shapefiles for each county and Census vintage. If not already present, compressed addrfeat shapefiles are downloaded from the Census FTP site to the addr user data directory.

When reading into R, the data is converted to one row per street side (L/R) for use by taf_install().

Usage

tiger_addr_feat(county, year, redownload = FALSE)

Arguments

county

character string of county FIPS identifier

year

character year of the Census TIGER/Line product

redownload

logical, length 1; re-download the cached TIGER ZIP file?

Value

a tibble with LINEARID, FULLNAME, side, ZIP, FROMHN, TOHN, PARITY, OFFSET, and s2_geography columns

Examples

tiger_addr_feat("39061", "2025")
#> # A tibble: 56,478 × 9
#>    LINEARID     FULLNAME   side  ZIP   FROMHN  TOHN PARITY OFFSET s2_geography  
#>  * <chr>        <chr>      <chr> <chr>  <int> <int> <chr>  <chr>  <s2_geography>
#>  1 110386722678 S State St L     45030    300   308 E      N      LINESTRING (-…
#>  2 110386722678 S State St L     45030    100   108 E      N      LINESTRING (-…
#>  3 110386722678 S State St L     45030    200   298 E      N      LINESTRING (-…
#>  4 110386722678 S State St L     45030    310   398 E      N      LINESTRING (-…
#>  5 110386722678 S State St L     45030    400   490 E      N      LINESTRING (-…
#>  6 110386722678 S State St L     45030    492   498 E      N      LINESTRING (-…
#>  7 110386722678 S State St L     45030    512   998 E      N      LINESTRING (-…
#>  8 110386722678 S State St L     45030   1000  1098 E      N      LINESTRING (-…
#>  9 110386722678 S State St L     45030  26348 26398 E      N      LINESTRING (-…
#> 10 110386722678 S State St L     45030    500   510 E      N      LINESTRING (-…
#> # ℹ 56,468 more rows