Skip to content

Commit

Permalink
2nd attempt at updating in/like example
Browse files Browse the repository at this point in the history
  • Loading branch information
bevingtona authored Jan 30, 2025
1 parent 456d6fc commit 01f8747
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions R/bcdc-web-services.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@
#' collect()
#' )
#'
#' # To query based on partial matches, use %LIKE%:
#' try(
#' bcdc_query_geodata("bc-airports") %>%
#' filter(PHYSICAL_ADDRESS %LIKE% 'Vict%')
#')
#'
#' # To query using %IN%
#' try(
#' bcdc_query_geodata("bc-airports") %>%
#' filter(AIRPORT_NAME %IN% c("Victoria Harbour (Camel Point) Heliport",
#' "Victoria Harbour (Shoal Point) Heliport")) %>%
#' collect()
#')
#'
#' try(
#' res <- bcdc_query_geodata("groundwater-wells") %>%
#' filter(OBSERVATION_WELL_NUMBER == "108") %>%
Expand Down

0 comments on commit 01f8747

Please sign in to comment.