Skip to contents

Download TIGER shapes for Subbarrios (Puerto Rico)

Usage

tt_subbarrios(year = 2024)

Arguments

year

Integer year. Required. 2000 and 2010-2022 are currently supported.

Value

sf data.frame

Examples

# Wrapped in try due to false positive 304 errors
try(tt_subbarrios()) # downloads slow on CRAN
#> Simple feature collection with 145 features and 17 fields
#> Geometry type: MULTIPOLYGON
#> Dimension:     XY
#> Bounding box:  xmin: -67.19246 ymin: 17.91081 xmax: -65.6246 ymax: 18.4876
#> Geodetic CRS:  NAD83
#> # A tibble: 145 × 18
#>    STATEFP COUNTYFP COUSUBFP SUBMCDFP SUBMCDNS GEOID      GEOIDFQ NAME  NAMELSAD
#>    <chr>   <chr>    <chr>    <chr>    <chr>    <chr>      <chr>   <chr> <chr>   
#>  1 72      131      77543    56650    02415726 721317754… 067000… Norz… Norzaga…
#>  2 72      131      77543    84470    02416083 721317754… 067000… Urré… Urréjol…
#>  3 72      097      52474    12405    02415239 720975247… 067000… Cand… Candela…
#>  4 72      097      52474    75200    02415984 720975247… 067000… Salud Salud s…
#>  5 72      127      79693    42932    02415573 721277969… 067000… Las … Las Cas…
#>  6 72      127      79693    30080    02415430 721277969… 067000… Gand… Gandul …
#>  7 72      127      79693    53638    02415686 721277969… 067000… Mira… Miramar…
#>  8 72      127      84079    84771    02416087 721278407… 067000… Vale… Valenci…
#>  9 72      127      79693    52900    02415673 721277969… 067000… Meli… Melilla…
#> 10 72      127      34070    39714    02415560 721273407… 067000… La 37 La 37 s…
#> # ℹ 135 more rows
#> # ℹ 9 more variables: LSAD <chr>, CLASSFP <chr>, MTFCC <chr>, FUNCSTAT <chr>,
#> #   ALAND <dbl>, AWATER <dbl>, INTPTLAT <chr>, INTPTLON <chr>,
#> #   geometry <MULTIPOLYGON [°]>