utils_clean_addresses: Clean directory addresses

Description Usage Arguments Value Examples

Description

Clean all address records in provided directory dataframe.

Usage

1

Arguments

directory

A directory dataframe. Columns must include address.house.number, address.house.number and/or address.trade.number, address.trade.number.

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_addresses(directory)

## End(Not run)

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