fix_names | R Documentation |
The fix_names()
function fixes the capitalization of species names in the data frame provided to align
with accepted capitalization standards.
fix_names(df, scientific.name = "scientificName")
df |
Data frame with name column to be fixed. |
scientific.name |
Default = "scientificName". The name of the scientificName column in the data frame. |
This function uses the fixAfterPeriod()
function. This function requires package stringr.
Returns df with fixed capitalization in name column.
fixed_data <- fix_names(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.