Description Usage Arguments Value Examples
Clean address entries in the provided directory dataframe.
1 | utils_clean_address(directory, type = c("body", "number", "ends"))
|
directory |
A directory dataframe. |
type |
A character string: "body", "number" or "ends". Specifies the type
of address cleaning to be performed. For "body", "number" and "ends"
|
A dataframe.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## 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_address(directory, "body")
utils_clean_address(directory, "number")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.