utils_clear_irrelevants: Mutate operation(s) in directory dataframe column(s)

Description Usage Arguments Value Examples

Description

Attempts to get rid of irrelevant information in all columns of the provided directory dataframe provided

Usage

1

Arguments

directory

A directory dataframe.

...

Further arguments to be passed down to utils_clear_content.

Value

A dataframe.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
  directory <- data.frame(
    page = c("71", "71"),
    surname = c("ABOT", "ABRCROMBIE"), forename = c("Wm.", "Alex"),
    occupation = c("Wine and spirit merchant — See Advertisement in Appendix.", "Baker"),
    address.trade.number = c("18, 20", "12"),
    address.house.number = c("136", "265"),
    address.trade.body = c("London Street.", "Dixon Street."),
    address.house.body = c("Queen Street.", "Argyle Street"),
    stringsAsFactors = FALSE
  )
  utils_clear_irrelevants(directory, globals_regex_irrelevants, ignore_case = TRUE)

## End(Not run)

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