Subsetting simple features (4)

Non-spatial criteria – continued:

nc[1, "NWBIR74"] # first row, column with name NWBIR74
## Simple feature collection with 1 feature and 1 field
## Geometry type: MULTIPOLYGON
## Dimension:     XY
## Bounding box:  xmin: -81.74107 ymin: 36.23436 xmax: -81.23989 ymax: 36.58965
## Geodetic CRS:  NAD27
## # A tibble: 1 × 2
##   NWBIR74                                                               geometry
##     <dbl>                                                     <MULTIPOLYGON [°]>
## 1      10 (((-81.47276 36.23436, -81.54084 36.27251, -81.56198 36.27359, -81.63…
nc[1, "NWBIR74", drop = TRUE] # drop geometry
## [1] 10
## attr(,"class")
## [1] "numeric"