Do a GET call to PXWEB API for advanced users
Usage
pxweb_advanced_get(
url,
query = NULL,
verbose = TRUE,
log_http_calls = FALSE,
pxmdo = NULL,
...
)Arguments
- url
a
pxwebobject or url that can be coherced to apxwebobject.- query
a json string, json file or list object that can be coherced to a
pxweb_queryobject.- verbose
should large queries print out progress.
- log_http_calls
Should the http calls to the API be logged (for debugging reasons). If TRUE, all calls and responses are logged and written to "log_pxweb_api_http_calls.txt" in the working directory.
- pxmdo
A
pxweb_metadataobject to use for query.- ...
Further arguments sent to
httr::POST(for queries) orhttr::GET(for query =NULL). If used with query, also supply apxweb_metadataobject. Otherwise the same parameters are sent to bothhttr::POSTandhttr::GET.
Details
This function is intended for more advanced users that want to supply specific arguments in
httr calls or what to debug httr calls.
pxweb_get() is a wrapper for standard use.
