bmaitner / RBIEN

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

BIEN_trait_mean errors due to conflicting family/genus designations #3

Open bmaitner opened 6 years ago

bmaitner commented 6 years ago

The function BIEN_trait_mean will sometimes gives errors due to the same genus being assigned to different families (e.g. "Unknown" and somethingaceae"). Thankfully the errors don't stop the function, and the NA's that are returned are reasonable (and better than erroneous values).

Revising code to only use families ending in "aceae"

benquist commented 6 years ago

can you put this in the frequently asked questions website for R BIEN?

On Jul 24, 2017, at 6:42 PM, Brian Maitner <notifications@github.com mailto:notifications@github.com> wrote:

The function BIEN_trait_mean will sometimes gives errors due to the same genus being assigned to different families (e.g. "Unknown" and somethingaceae"). Thankfully the errors don't stop the function, and the NA's that are returned are reasonable (and better than erroneous values).

Revising code to only use families ending in "aceae"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bmaitner/RBIEN/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGiIbgI4FAN8XY7Nk9EWd3HK59gK9BDks5sRTn7gaJpZM4Oh7cY.

bmaitner commented 6 years ago

I'm working on fixing the underlying code so the issue doesn't occur. Shouldn't take too long.