Description Usage Arguments Details Value
Exported to access HTTPS Manta API and metadata retrieval.
1 2 | mantaAttempt(action, method, headers, returncode, limit, marker, json = TRUE,
test = FALSE, silent = FALSE, verbose = FALSE)
|
action |
character, optional. Path to a manta object or directory with optional query terms. When unspecified, uses current Manta Directory and returns JSON listing values for the directory. |
method |
character, optional. Default is
|
headers, |
array of named characters, optional. The
headers follow the |
returncode, |
character, optional. Set to expected
HTTP return code, e.g. |
limit, |
numeric, optional. Set to limit number of
returned listed JSON lines - number of directory entries
Otherwise uses default value in |
marker, |
character, optional. Name or id character
value of directory entry to start next listing segment of
length |
json |
logical, optional. |
test |
logical, optional, Set to |
silent |
logical, optional. Controls whether |
verbose |
logical, optional. Passed to |
If test == TRUE
, it returns pass/fail logical If
passed a Manta subdirectory, it returns the directory JSON
according to the length limit set with
mantaSetLimits
Note getURL verbose = TRUE
writes to UNIX
stderr
which is invisible on Windows R.
The Manta reply data in JSON or R format, OR a logical
value if test = TRUE
. Return values and Manta server
error message display or stop
behavior depends on
values of test, silent
:
test = TRUE,
silent = TRUE
logical - success returned, Errors are
logged.
test = TRUE, silent = FALSE
logical -
success returned, Errors are logged, emitted to console.
test = FALSE, silent = TRUE
data returned, Errors
are logged, empty data on error.
test = FALSE,
silent = FALSE
data returned, Errors are logged, stop() on
400 series errors.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.