Do a GET call to PXWEB API for advanced users
pxweb_advanced_get(
url,
query = NULL,
verbose = TRUE,
log_http_calls = FALSE,
pxmdo = NULL,
...
)
a pxweb
object or url that can be coherced to a pxweb
object.
a json string, json file or list object that can be coherced to a pxweb_query
object.
should large queries print out progress.
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.
A pxweb_metadata
object to use for query.
Further arguments sent to httr::POST
(for queries) or httr::GET
(for query = NULL
).
If used with query, also supply a pxweb_metadata
object. Otherwise the same parameters are sent to
both httr::POST
and httr::GET
.
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.