-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_tsn addition: "no match" #48
Comments
Do you have an example? - I'm not sure if I understand you right... |
For example: get_tsn("Dialictus", "sciname") gives Retrieving data for species ' Dialictus '
combinedname tsn
1 Glossodialictus 634134
2 Glossodialictus wittei 757658
3 Dialictus flavipes 760402
More than one TSN found for species ' Dialictus '!
Enter rowname of species to take: Dialictus is a subgenus now of Lasioglossum, so this may be a weird example, but I think this has happened in other cases. So in this case I would want to select option No. 4, which is "none of the above", cause if this was in a lapply type call, then I would have to start over if none of the options matched what I wanted. |
Should be no problem, but I am currently quite busy :( |
Thanks. |
Commit cd43105 should fix this. If the User is asked for input, he/she can select the rownumber corresponding to the proper species. Any input diverging from the rownames will be treated as 'NA' |
When using
get_tsn
, sometimes the given options don't match your input. Perhaps you can add an option that is "none of the above", which will just insert a character string e.g, "no_match", so that you can continue on in case you are callingget_tsn
in an apply call or for loop.The text was updated successfully, but these errors were encountered: