utils_clean_names {podcleaner} | R Documentation |
Clean entries name records
Description
Clean name columns (forename & surname) of provided directory dataframe.
Usage
utils_clean_names(directory)
Arguments
directory |
A directory dataframe. |
Value
A dataframe.
Examples
## Not run:
directory <- data.frame(
page = c("71", "71"),
surname = c("ABOT", "ABRCROMBIE"), forename = c("Wm.", "Alex"),
occupation = c("Wine and spirit merchant", "Baker"),
address.number = c(" -; 1820", ",,12"),
address.body = c(
"London st. ; house, Mary hill.*",
"&;Dixon st.; residence, Craigrownie, Cove.$"
),
stringsAsFactors = FALSE
)
utils_clean_names(directory)
## End(Not run)
[Package podcleaner version 0.1.2 Index]