fix_names {gatoRs} | R Documentation |
Used in gators_download() - Fix taxonomic name capitalization
Description
The fix_names()
function fixes the capitalization of species names in the data frame provided to align
with accepted capitalization standards.
Usage
fix_names(df, scientific.name = "scientificName")
Arguments
df |
Data frame with name column to be fixed. |
scientific.name |
Default = "scientificName". The name of the scientificName column in the data frame. |
Details
This function uses the fixAfterPeriod()
function. This function requires package stringr.
Value
Returns df with fixed capitalization in name column.
Examples
fixed_data <- fix_names(data)
[Package gatoRs version 1.0.2 Index]