This function downloads Overture Maps data to a local directory, maintaining
the same partition structure as in S3. snapshot_overture
defaults
'output_dir' to tempdir()
and overwrite to TRUE.
Usage
record_overture(curtain_call, output_dir, overwrite = FALSE, write_opts = NULL)
snapshot_overture(
curtain_call,
output_dir = tempdir(),
overwrite = TRUE,
write_opts = NULL
)
Value
Another tbl_lazy. Use dplyr::show_query()
to see the generated query, and
use dplyr::collect()
to execute the query and return data to R.
An 'overture_call' for the downloaded data
Examples
if (FALSE) { # interactive()
broadway <- c(xmin = -73.99, ymin = 40.76, xmax = -73.98, ymax = 40.76)
buildings <- open_curtain("building", spatial_filter = bbox)
local_buildings <- record_overture(buildings, tempdir(), overwrite = TRUE)
}