icesTAFDB is an R interface to access the web services of the ICES Transparent Assessment
icesTAFDB is implemented as an R package
and available on GitHub
icesTAFDB can be installed from https://ices-tools-prod.r-universe.dev
using install.packages
:
install.packages("icesTAFDB", repos = c('https://ices-tools-prod.r-universe.dev', 'https://cloud.r-project.org'))
For a summary of the package:
library(icesTAFDB)
?icesTAFDB
To test that you have the package set up correctly and have registered
with ICES TAF, run test()
test()
## GETing ... https://adminweb06.ices.dk/api/whoami
## using user supplied token for user ICES\colin
## OK (HTTP 200).
## it works colin!
## Your Claims are:
## * user: admin
in the case you have not registered, you will get the following message
test(use_token = FALSE)
## GETing ... https://adminweb06.ices.dk/api/whoami
## no token used
## OK (HTTP 200).
## Could not find you! Please go to: https://taf.ices.dk/github/ and follow the instructions to connect your github account.
rmarkdown::render("README.Rmd")