ices_get | R Documentation |
Get a url, optionally using an ICES authentication token
ices_get(
url,
retry = TRUE,
quiet = !getOption("icesSAG.messages"),
verbose = FALSE,
content = TRUE,
use_token = getOption("icesSAG.use_token")
)
ices_get_cached(
url,
retry = TRUE,
quiet = !getOption("icesSAG.messages"),
verbose = FALSE,
content = TRUE,
use_token = getOption("icesSAG.use_token")
)
url |
the url to get. |
retry |
should the get request be retried if first attempt fails? default TRUE. |
quiet |
should all messages be suppressed, default FALSE. |
verbose |
should verbose output form the http request be returned? default FALSE. |
content |
should content be returned, or the full http response? default TRUE, i.e. content is returned by default. |
use_token |
should an authentication token be sent with the request? default is the value of the option icesSAG.use_token. |
content or an http response.
ices_get_cached()
: cached version of ices_get
sag_api
builds a SAG web service url.
icesSAG-package
gives an overview of the package.
## Not run:
ices_get(sag_api("StockList", year = 2022))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.