haganjam / InvTraitR

Pipeline to assign biomass-length allometry equations to a taxonomic name based on taxonomic hierarchy and geographic (or environmental) proximity
Other
3 stars 0 forks source link

Names queried is not equal to unique names #22

Open haganjam opened 1 year ago

haganjam commented 1 year ago

When we run the clean_taxon_names() function, it calls the bdc_query_names_taxadb() from the bdc package. It gives a message saying how many names were queried. The problem is that this is how many names in total were queried and not how many unique names were queried.

Given that we do some pre-processing to take the unique entries out i.e. unique name, lat lon etc., the unique names doesn't match the number of names queried.

This message seems confusing because one would think that it would output the number of unique names. Maybe we can prevent this message from being shown or make our own message.

black-snow commented 1 year ago

(plus it's super annoying)

black-snow commented 1 year ago

@haganjam is this still relevant?

haganjam commented 1 year ago

Yes, it's still relevant... I actually forgot about this. I'll see what I can do.

haganjam commented 1 year ago

Still need to sort this out...