AtlasOfLivingAustralia / galah-R

Query living atlases from R
https://galah.ala.org.au
39 stars 3 forks source link

Empty list (select_taxa) #63

Closed ShawanChowdhury closed 3 years ago

ShawanChowdhury commented 3 years ago

I was cross-checking EPBC listed species with the ALA data using the 'select_taxa()' function. It worked for other species list (e.g., weeds of national significance) but I obtained an empty list for the EPBC listed species.

galah version 1.1.0

To Reproduce threatened_list <- fread("EPBC_list.csv") threatened_ala <- select_taxa(threatened_list$scientific_name)

matildastevenson commented 3 years ago

Hi @ShawanChowdhury, can you provide the EPBC list here?

ShawanChowdhury commented 3 years ago

Here it is. EPBC_list.xlsx

matildastevenson commented 3 years ago

select_taxa is assuming that a list of identifiers, rather than scientific names, has been provided because there are numeric characters in some rows. If you remove the numbers it should work as expected

matildastevenson commented 3 years ago

This will be addressed in #64