Closed robson-cruz closed 1 year ago
Thanks for the report! I get the same error. Looks like a server issue. Lets give it a day or two to see if it clears up and if not I will look more into it.
Is there potentially an issue with GNR being discontinued?
GRN is no longer listed here: https://globalnames.org/apps/
Has it been replaced with GNRD?
Hi! I have also been getting this error consistently for a few weeks.
If GNR is gone for good, and anyone is desperate to automate this process until taxize gets updated Global Names Verifier works very similar. See documentation for valid Parameters and data sources.
library(httr)
library(jsonlite)
# Using GET:
a1<-GET("https://verifier.globalnames.org/api/v1/verifications/Homo%7CSimuliidae?data_sources=3")
jsonlite::fromJSON(rawToChar(a1$content))
# Using POST
a2 <- httr::POST("https://verifier.globalnames.org/api/v1/verifications",
config = httr::add_headers(accept = "application/json", `Content-Type` = "application/json"),
body = jsonlite::toJSON(list(nameStrings=c("Homo","Simuliidae"),dataSources=3)))
jsonlite::fromJSON(rawToChar(a2$content))
I believe the underlying cause of this issue is #886
This issue was solved. Thanks.
When I try to use the gnr_resolve function I get the following error message:
Error: Service Unavailable (HTTP 503)
─ Session info─────────────────────────────────────────────────────────────────────────── setting value version R version 4.2.1 (2022-06-23 ucrt) os Windows 10 x64 (build 19042) system x86_64, mingw32 ui RStudio language (EN) collate Portuguese_Brazil.utf8 ctype Portuguese_Brazil.utf8 tz America/Sao_Paulo date 2023-05-22 rstudio 2022.12.0+353 Elsbeth Geranium (desktop) pandoc 2.19.2 @ C:\Users\671470~1\AppData\Local\Pandoc\pandoc.exe
Error: Service Unavailable (HTTP 503) -- |taxize::gnr_resolve("Apuleia molaris", best_match_only = TRUE, canonical = TRUE)