utils_clean_ends: Clean entry ends

Description Usage Arguments Value Examples

Description

Clean entry ends for the specified columns in the directory dataframe provided

Usage

1
utils_clean_ends(directory, ...)

Arguments

directory

A directory dataframe.

...

Columns to clean provided as expressions.

Value

A dataframe.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
  directory <- data.frame(
    page = c("71", "71", "71"),
    surname = c("ABOT", "ABRCROMBIE", "BLAI"), forename = c("Wm.", "Alex", "Jn Huh"),
    occupation = c("Wine and spirit merchant", "Baker", "Victualer"),
    address.trade.number = c(" -; 1820", "", "280"),
    address.trade.body = c("London st. ; house, Mary hill.*", "", "High stret"),
    stringsAsFactors = FALSE
  )
  utils_clean_ends(directory, address.trade.number, address.trade.body)

## End(Not run)

podcleaner documentation built on Jan. 12, 2022, 1:06 a.m.