Skip to content

R interface to access the web services of the ICES Transparent Assessment Framework (TAF) web application

License

Notifications You must be signed in to change notification settings

ices-tools-prod/icesTAFDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status CRAN Status CRAN Monthly CRAN Total

ICES Logo

icesTAFDB

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

Installation

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'))

Usage

For a summary of the package:

library(icesTAFDB)
?icesTAFDB

Examples

Test your connection to the DB

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.

to build this github_document

rmarkdown::render("README.Rmd")

About

R interface to access the web services of the ICES Transparent Assessment Framework (TAF) web application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages