as_tibble {bcdata} | R Documentation |
as_tibble
Description
See tibble::as_tibble
for details.
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.
See dplyr::collect
for details.
Usage
## S3 method for class 'bcdc_promise'
collect(x, ...)
## S3 method for class 'bcdc_promise'
as_tibble(x, ...)
Arguments
x |
object of class |
Examples
try(
bcdc_query_geodata("bc-airports") %>%
collect()
)
try(
bcdc_query_geodata("bc-airports") %>%
as_tibble()
)
[Package bcdata version 0.5.1 Index]