show_query.bcdc_promise {bcdata}R Documentation

Show SQL and URL used for Web Feature Service request from B.C. Data Catalogue

Description

Display Web Feature Service query CQL

See dplyr::show_query for details.

Usage

## S3 method for class 'bcdc_promise'
show_query(x, ...)

## S3 method for class 'bcdc_sf'
show_query(x, ...)

Arguments

x

object of class bcdc_promise or bcdc_sf

Methods (by class)

Examples


try(
  bcdc_query_geodata("bc-environmental-monitoring-locations") %>%
    filter(PERMIT_RELATIONSHIP == "DISCHARGE") %>%
    show_query()
)
  


try(
  air <- bcdc_query_geodata("bc-airports") %>%
    collect()
)

try(
  show_query(air)
)


[Package bcdata version 0.4.1 Index]