Description Usage Arguments Value
Convenience function to add in a kingdom column to a PBDB dataset. This relies on the dataset having a column of phylum-level assignments for occurrences. The kingdom column is a useful addition for filtering very large taxonomically diverse datasets, and adds in an additional level of data which can inform taxonomic cleaning routines like those called by @seealso check_taxonomy
1 | add_kingdoms(x, phylum = "phylum", insert.left = TRUE)
|
x |
A dataframe containing, minimally, phylum-level assignments of the data |
phylum |
A character of length 1 specifing the column in x with the phylum level assignments |
insert.left |
A convenience argument which will make sure that the kingdom column will be inserted in dataframe left immediately to the left of the phylum column |
The dataframe x, with the kingdom column inserted
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.