Description Usage Arguments Details Value Note Examples
To avoid passing frequent options to every API wrapper, they are defined globally (within package scope).
1 |
... |
Named arguments for option setting. Will return all current options if none are specified. |
Currenly the following options are available:
verbose:
Will show status messages if set to TRUE
.
Default: TRUE
costWarning:
If TRUE
, will ask for user confirmation in case when request costs
more than warnThreshold
API call credits (useful for multipage calls).
Default: FALSE
warnThreshold:
Minimum number of API calls in multipage request to request confirmation.
Default: 50
outFormat
:Format of resulting output.
Possible options: 'data.frame'
or 'data.table'
.
Default: 'data.frame'
maxPageSize
(view only):A data.frame
with maximum page size by endpoint.
Used to determine default page size in intrMultipage
call.
To override, pass page_size
to API call when needed. See Paging Limits
A list of options if none are passed
Options are reset to default on every package reload.
1 2 3 4 5 | # get option list
intrOptions()
# modify options
intrOptions(verbose = TRUE, costWarning = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.