Query$to_sf_tibble

Query$to_sf_tibble(max_results=NULL, variables=NULL, geography_variable=NULL, max_parallelization=parallely::availableCores()) → SF tibble

Returns a Simple Features tibble representing the results of a query with a geography variable.

Parameters:

max_results : int, default NULL The max number of records to load into the tibble. If not specified, the entire query results will be loaded.

variables : list(str) | character vector The specific variables to return, e.g., variables = c("name", "date") . If not specified, all variables in the query results will be returned.

geography_variable : str, default NULL The variable to use as the sf geometry column. If unset, the first geography variable in the tibble will be used.

max_parallelization : int, default parallely::availableCores() The maximum parallelization when loading the table. Uses the future::multicore strategy when supported, falling back to future::multisession if not.

Returns:

sf tibble

Last updated