Learn R Programming

pestr (version 0.8.4)

check_eppo_token: EPPO Data Services token variable

Description

[Maturing] check_eppo_token should be used after create_eppo_token to check if the token is correctly recognized by EPPO Data Services API. As a reference it uses link to Xylella fastidiosa hosts database - XYLEFA eppocode. If token is recognized there will be no message. In other cases function will show following messages: No internet connection or Forbidden (HTTP 403).

Usage

check_eppo_token(token)

Value

Silent NULL when there is no error, otherwise message.

Arguments

token

object of class pestr_token.

See Also

To obtain your free EPPO token please register to EPPO Data Services https://data.eppo.int/

Examples

Run this code
if (FALSE) {
eppo_token <- create_eppo_token("abcdef123456")
check_eppo_token(eppo_token)
}

Run the code above in your browser using DataLab