Skip to content

Commit

Permalink
export update_params()'
Browse files Browse the repository at this point in the history
  • Loading branch information
JosiahParry committed Dec 1, 2023
1 parent 274b0b2 commit 37ae9b1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
9 changes: 8 additions & 1 deletion R/arc-select.R
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,14 @@ check_inherits_any <- function(x,
#'
#' @param x a `FeatureLayer` or `Table` object
#' @param ... key value pairs of query parameters and values.
#' @keywords internal
#' @export
#' @examples
#' if (interactive()) {
#' furl <- "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Major_Cities_/FeatureServer/0"
#' flayer <- arc_open(furl)
#' update_params(flayer, outFields = "NAME")
#' }
#' @returns An object of the same class as `x`
update_params <- function(x, ...) {
query <- attr(x, "query")
params <- rlang::list2(...)
Expand Down
11 changes: 10 additions & 1 deletion man/update_params.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 37ae9b1

Please sign in to comment.