bmaitner / RBIEN

Tools for accessing the Botanical Information and Ecology Network (BIEN) database
http://bien.nceas.ucsb.edu/bien/
Other
43 stars 10 forks source link

BIEN tutorial #6

Open iadamo1 opened 7 years ago

iadamo1 commented 7 years ago

Hi, I am doing the BIEN tutorial posted on this repository. I am confused onthis part:

bahamas_country <- BIEN_occurrence_country(country = "Bahamas") length(unique(bahamas_country$scrubbed_species_binomial)) the result is 954.

but then we I run: Bahamas_species_list<-BIEN_list_country(country = "Bahamas") View(Bahamas_species_list) I get 1100 species. I am confused because I understood that with this function you get the same unique species list as before but ignoring any NA values as explained in the tutorial. Then, how come that I get more species with species list function of the same country? thanks for any help

bmaitner commented 7 years ago

This discrepancy is due to the differing criteria for species to be included in the two functions. The criteria for species to be returned in the BIEN_list_country() function are less restrictive than the criteria used in the BIEN_occurrence_country() function. BIEN_list_country queries will include some species that fail one or more of our geospatial validations (e.g. the coordinates don't fall within the specified country), or where there is some missing taxonomic information in the TNRS.

iadamo1 commented 7 years ago

thanks a lot for your explanation!