-
Notifications
You must be signed in to change notification settings - Fork 60
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
request consistent var names in value from downstream(...,intermediate=TRUE) #460
Comments
library(taxize) |
note that this is no biggie, just a request for consistency. As far as I can tell, the last listed data.frame within each intermediate list appears to be the same as the corresponding target data.frame, so I can just discard target and parse intermediate. |
Thanks phillipi for reporting this.
@sckott Shouldn't we make all thorughout taxize lowercase? Then we don't have to care... |
Closing this and opened a new issue #462 . |
fixed bug introduced by last commit, see issue #460
Sorry. On vacation now. Back to computer in a few days |
A call to downstream() with intermediate=TRUE returns a list for each submitted tsn, with "target" a data.frame, and "intermediate" a list of 1 or more data.frames.
The variables in target are
tsn, parentname, parenttsn, taxonname, rankid, rankname.
The variables in an intermediate data.frame are
tsn, parentname, parenttsn, taxonname, rankId, rankName.
The last 2 variables have slightly different names.
I'm trying to expand a name/tsn to all possible downstream names that might have been used for species occurrences, which should be a mainstream usage. If the variable names were consistent, I could use rbindlist. But "rankid" v "rankId" and "rankname" v "rankName" require several more steps.
The text was updated successfully, but these errors were encountered: