powered by
Get a url, optionally using an ICES authentication token
vocab_get( url, retry = TRUE, quiet = !getOption("icesVocab.messages"), verbose = FALSE, content = TRUE )vocab_get_cached( url, retry = TRUE, quiet = !getOption("icesVocab.messages"), verbose = FALSE, content = TRUE )
vocab_get_cached( url, retry = TRUE, quiet = !getOption("icesVocab.messages"), verbose = FALSE, content = TRUE )
content or an http response.
the url to get.
should the get request be retried if first attempt fails? default TRUE.
should all messages be suppressed, default FALSE.
should verbose output form the http request be returned? default FALSE.
should content be returned, or the full http response? default TRUE, i.e. content is returned by default.
vocab_get_cached(): cached version of vocab_get
vocab_get_cached()
vocab_api builds a SAG web service url.
vocab_api
icesVocab-package gives an overview of the package.
icesVocab-package
if (FALSE) { vocab_get(vocab_api("StockList", year = 2022)) }
Run the code above in your browser using DataLab