Description Usage Arguments Value Note Author(s)
Send a query to the motus API
1 2 | motusQuery(API, params = NULL, requestType = "post", show = FALSE,
JSON = FALSE)
|
API |
one of the Motus$API_... constants |
params |
named list of API-specific parameters |
requestType |
"post" or "get"; default: "post". |
show |
if TRUE, print the request to the console before submitting to motus |
JSON |
if TRUE, return results as JSON-format string; otherwise, as R list |
the result of sending the request to the motus API. The
result is a JSON-format character scalar if json
is
TRUE
; otherwise it is an R list with named components,
extracted from the JSON return value.
If you have not already entered your motus login credentials
in this R session, e.g. by calling motusLogin()
,
this function will prompt you for them.
John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.