knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" ) library(dplyr) library(magrittr) library(taxize) library(stringr) library(knitr) library(taxizehelper)
taxize
package.taxizehelper
?taxizehelper
is a personal package that helps me use rOpenSci's taxize
package more succinctly. taxize
helps you retrieve up-to-date taxonomic information, so you can easily do things like:
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
install.packages("devtools") devtools::install_github("DesiQuintans/taxizehelper") library(taxizehelper)
taxizehelper
currently has only one function:
search_gnr(species_list)
--- Get taxonomic info for a list of taxa in a tidy dataframe.search_gnr()
to get a dataframe of taxonomic ranks# A list of insect species recorded within 1 km of my university. data("wsu_hwk_insects") print(wsu_hwk_insects) output <- search_gnr(wsu_hwk_insects) class(output) glimpse(output, width = 85)
The ICN ranks are ordered so that you can access them with kingdom:genus
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.