create_spec_df {naturaList} | R Documentation |
Create specialist data frame from character vector
Description
Creates a specialist data frame ready for use in
classify_occ
from a character vector containing the specialists names
Usage
create_spec_df(spec.char)
Arguments
spec.char |
a character vector with specialist names |
Value
a data frame. Columns split the names, surname and abbreviation for the names. If the full name contain any special character, such as accent marks, two lines for that name will be provided, with and without the special characters. See examples.
Examples
# Example using Latin accent marks
data(spec_names_ex)
spec_names_ex
create_spec_df(spec_names_ex)
[Package naturaList version 0.5.2 Index]