View source: R/create_spec_df.R
create_spec_df | R Documentation |
Creates a specialist data frame ready for use in
classify_occ
from a character vector containing the specialists names
create_spec_df(spec.char)
spec.char |
a character vector with specialist names |
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.
# Example using Latin accent marks
data(spec_names_ex)
spec_names_ex
create_spec_df(spec_names_ex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.