View source: R/make_eppo_token.R
check_eppo_token | R Documentation |
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).
check_eppo_token(token)
token |
object of class pestr_token. |
Silent NULL when there is no error, otherwise message.
To obtain your free EPPO token please register to EPPO Data Services https://data.eppo.int/
## Not run:
eppo_token <- create_eppo_token("abcdef123456")
check_eppo_token(eppo_token)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.