query_string: Query String

View source: R/query_string.R

query_stringR Documentation

Query String

Description

Generate a query string to combine with the endpoint

Usage

query_string(f = "json", my_token = NULL, ...)

Arguments

f

return format "json by default

my_token

An access token to be included in the string if specified

...

additional query parameters passed as named pairs. Names are the parameter names and the values are the parameter values. For example: list(outFields = "*")

Details

This function accepts a named list or vector of query parameters. It compares the parameters with standard parameters and returns a string.

Value

a string, beginning with "query?" to concatenate with the end point


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.