powered by
See tibble::as_tibble for details.
tibble::as_tibble
After tuning a query, collect() is used to actually bring the data into memory. This will retrieve an sf object into R. The as_tibble() function can be used interchangeably with collect which matches dbplyr behaviour.
collect()
as_tibble()
collect
dbplyr
See dplyr::collect for details.
dplyr::collect
# S3 method for bcdc_promise collect(x, ...)# S3 method for bcdc_promise as_tibble(x, ...)
# S3 method for bcdc_promise as_tibble(x, ...)
object of class bcdc_promise
bcdc_promise
# \donttest{ try( bcdc_query_geodata("bc-airports") %>% collect() ) try( bcdc_query_geodata("bc-airports") %>% as_tibble() ) # }
Run the code above in your browser using DataLab