-
Notifications
You must be signed in to change notification settings - Fork 40
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
How do I get the taxonomic classification of the fish species? #126
Comments
Check out all the columns of the data frame returned Apologies, the 2012 publication is now quite out of date relative to the current version of the package. HTH, Carl |
also added a |
see also #92 |
Nice, thanks @sckott. Can you add an example of this in the readme.rmd too? |
sure thing |
One thing about the so users have to do lapply or so, like spp <- list(c("Oreochromis", "amphimelas"), c("Oreochromis", "mweruensis"))
Map(function(x) taxonomy(x[1], x[2]), spp) is that acceptable? or too cumbersome? |
i guess one option is to do allow passing in a list of genus+epithet names, and internally break names into genus, species, and map over each name |
make it so that one of genus or species, or both are required added taxonomy() eg to readme
Good questions. Yeah, obviously a consistent query interface would be nice, though I suppose if necessary that could be done merely on the R level, so the R user could pass the same species_list. Having a way to return the full taxonomy table, a la |
Hi @cboettig , I am coming across this issue and had a similar question myself to the original post/question. Has this been solved in the later versions of rfishbase (3.0)? I can pull the whole data.frame of taxonomic descriptions through |
library(rfishbase)
library(dplyr)
rfishbase::load_taxa() %>%
filter(Species %in% c(Oreochromis mweruensis", "Oreochromis amphimelas")) %>%
collect() |
Hello,
I loaded my targeted species using the species_list and species functions. However, I could not find a function that extracted the higher taxonomic classifications (e.g. orders, class, etc.). I read in Boettiger et al. (2012) that you can use the fish_names function; but, in the current version of rfishbase, this function is no longer available. Are there any similar function(s) wherein I can load the other taxonomic units? Many thanks.
Respectfully,
Tim
The text was updated successfully, but these errors were encountered: