Collects a lazy NAR table into an sf object. Geometry is
transferred as WKB rather than WKT, and the CRS is read from the database
rather than assumed, so the result is correct for any NAR version.
Value
An sf object. The internal `x`/`y` storage-coordinate columns are dropped: they duplicate the geometry and would not survive a reprojection.
Examples
if (FALSE) { # \dontrun{
con <- nar_connection()
nar_sf <- con |>
dplyr::tbl("Addresses") |>
head(20) |>
collect_nar()
} # }
