fac_build_query_list: Build Query List

Description Usage Arguments Value Examples

View source: R/base.R

Description

Build Query List

Usage

1
fac_build_query_list(call_args, path_args = NULL, httr_args = "...")

Arguments

call_args

named list Argument names and values that were passed in the original call.

path_args

string vector Names of arguments to remove due to use in the API path.

httr_args

string vector Names of arguments to remove due to being passed to GET

Value

named list of query strings to pass to GET

Examples

1
2
3
4
5
## Not run: 
call_args <- lapply(as.list(match.call())[-1], eval.parent)
query <- fac_build_query_list(call_args, "an_api_path_arg", "...")

## End(Not run)

Saint-Louis-University/fac180 documentation built on Oct. 30, 2019, 11:46 p.m.