-
Notifications
You must be signed in to change notification settings - Fork 10
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
Some species names are not capitalized #24
Comments
Pinging @ojalaquellueva on this one. Brad, any ideas? Since the mistake is on the maps and is not present in vfoi, presumably this is a range pipeline issue? I also guess this means that the previous set of maps weren't TNRSed? |
@bmaitner : This is a legacy of how ranges were built in the past before I came on board. Basically the species names in the ranges table needed to match to the basename (minus extension) of the range file as a single string without spaces (hence the underscores). The genus was also inconsistently converted to lower case. Email me the SQL used to retrieve the species names and range info and I will come up with a solution. If you are querying the new ranges schema, then there is a separate species table with both the internal species name (with underscores and weird capitalization) and the well-formed binomial. Just query that. If you are querying the old ranges table in the main analytical schema, then I can add a column with the well-formed binomial. |
Thank you both for the quick answer! @ojalaquellueva how to know if I'm querying the old or the new ranges schema? Which table should I consider? |
@reykt That was a backend question for Brian. Once I hear back from Brian I'll know whether to push out a fix or if the solution is on Brian's end. |
When retrieving species list from their range, I realized by matching the species list to another one, that some species names were not capitalized.
Here is a reprex:
Created on 2020-11-24 by the reprex package (v0.3.0)
Session info
of course for the crossing it is expected that the first letter is not a capital letter, but what about the other species?
The text was updated successfully, but these errors were encountered: