Open arildodias opened 1 year ago
Hi @arildodias I'm having trouble replicating this issue:
library(BIEN) library(tidyverse) library(TNRS)
BIEN_occurrence_species("Acer rubrum")
BIEN_list_country("Bahamas") %>% pull(scrubbed_species_binomial) %>% unique() %>% BIEN_occurrence_species(limit=100)
tnrs_testfile %>% pull(taxon) %>% unique() %>% TNRS::TNRS(taxonomic_names = .) %>% pull(Accepted_name) %>% BIEN_occurrence_species()
Hi @bmaitner,
here is an example of what I am trying but without success.
first I got all the species for each maximum height trait is availble:
plantheight <- BIEN_trait_trait(trait = 'maximum whole plant height')
then I try to download the occurrences for the species from the dataset above
spocc <- BIEN_occurrence_species(species = plantheight[,1], new.world = T)
But the occurrences are not downloaded and the following message come out:
"There was a problem with the query. This is most often due to internet connection issues, but may also be due other factors such as an outdated version of the package."
Strange, the same code works for me. Your twitter comment that the previous version of BIEN works for you suggests the issue may be related to some changes we made related to error handling to ensure CRAN compliance. However, because the old version returned more useful error message when it failed, I left it in as an option. Can you try the following code and let me know what happens?
plantheight <- BIEN_trait_trait(trait = 'maximum whole plant height') spocc <- BIEN_occurrence_species(species = plantheight[,1], new.world = T)
Hi, I am trying to download the BIEN occurrence for a species list, but it does not download the data. Below is an example of what I tried and the error message I got:
here is the species name list I take to download the occurrences
here I tried to download all the occurrences of those species restring the occurrence to the New World
here is the error message I got
No species occurrence is downloaded after the code run. As my internet connection is quite good, and the BIEN package version I am using is the most recent one (BIEN 1.2.5), I don’t know why this is happening. I have tried to download these occurrences several times across the last 3 to 4 days, but always with success. Thanks