powered by
show_query() summarises the constructed query that has been passed to it by printing details about the query in a human readable format.
show_query()
See dplyr::show_query for details.
dplyr::show_query
# S3 method for vicmap_promise show_query(x, ...)
object of class vicmap_promise (invisible: query printed to console), which is a 'promise' of the data that can be returned if collect() is used
vicmap_promise
collect()
Object of class vicmap_promise (likely passed from vicmap_query())
vicmap_query()
Other parameters possibly used by generic
vicmap_promise: show_query.vicmap_promise
The printed information consists of three sections:
base url The base url of the query, this can be changed with options(vicmap.base_url = another_url)
body Lists the parameters of the WFS query, these can be modified through various functions such as vicmap_query(), filter(), select() and head()
filter()
select()
head()
full query url The constructed url of the final query to be collected
# \donttest{ try( vicmap_query(layer = "open-data-platform:hy_watercourse") %>% head(50) %>% show_query() ) # }
Run the code above in your browser using DataLab