Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHow 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 |
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