general_split_address_numbers_bodies {podcleaner} | R Documentation |
Mutate operation(s) in Scottish post office general directory data.frame column(s)
Description
Attempts to separate number from body of address entries in the Scottish post office general directory data.frame provided
Usage
general_split_address_numbers_bodies(
directory,
regex_split_address_numbers,
regex_split_address_body,
regex_split_address_empty,
ignore_case_filter,
ignore_case_match
)
Arguments
directory |
A Scottish post office general directory in the form
of a data.frame or other object that inherits from the data.frame class
such as a |
regex_split_address_numbers |
Regex to use to match address number(s). |
regex_split_address_body |
Regex to use to match address body(/ies). |
regex_split_address_empty |
Regex to use to match empty address entries. |
ignore_case_filter |
Boolean specifying whether case should be ignored
( |
ignore_case_match |
Boolean specifying whether case should be ignored
( |
Value
A data.frame of the same class as the one provided in directory
;
columns include at least address.trade.number
, address.trade.body
,
address.house.number
and address.house.body
.