combine_no_trade_address_to_random_string {podcleaner}R Documentation

Mutate operation(s) in directory data.frame address.trade column.

Description

Replaces missing trade address(es) in the provided Scottish post office directory data.frame with random string(s). Random string(s) only show(s) in body of trade address entry(/ies).

Usage

combine_no_trade_address_to_random_string(directory)

Arguments

directory

A Scottish post office directory in the form of a data.frame or other object that inherits from the data.frame class such as a tibble. Columns must at least include address.trade.

Value

A data.frame of the same class as the one provided in directory; columns include at least address.trade.

Details

Prevents unwarranted matches when matching general to trades directory. Unrelated records with similar name and trade address entry labelled as missing would be otherwise matched.


[Package podcleaner version 0.1.2 Index]