Open TBurla opened 1 year ago
Did you manage to find a solution? I am also encountering the same error for some species..
I used the code below to know which species was the last that passed through the search, them searched the species or genus in CAS to see what happened. Some where writing mistakes, but the majority were old names that were not used, but you can trace the history in CAS site. I took the last valid name to replace the species names with problem and it worked well.
#Create empty data frame to store results
CAS_search <- data.frame(query = character(),
species_author = character(),
species = character(),
author = character(),
family = character(),
status = character(),
class = character(),
order = character(),
subfamily = character(),
stringsAsFactors = FALSE)
#loop through each species
for (species in data$species){
#Construct cas query
CAS_query <- paste0(species)
#Perform CAS search
CAS_r <- search_cas(query = CAS_query, type = "species") %>% left_join(species_family()[, 1:4], by = "family")
CAS_search <- bind_rows(CAS_search, CAS_r)
}
Hi, I have been using the program for several orders of fish and, in some of them, the search has some error, at first I thought that it could be caused by some special character (and I'm still checking for them), but now I saw the same message to the following search. Specificity with "Colomesus asellus" or "Colomesus".