View source: R/oracle_merge_strings.R
oracle_merge_strings | R Documentation |
This is intended to be used with differing address strings The result is a 'master' address string that contains all parts of each address
oracle_merge_strings(df, first_col, second_col, merge_col)
df |
Lazy Oracle table |
first_col |
First column |
second_col |
Second column |
merge_col |
Name to give merged column |
Requires nhsbsaR::oracle_unnest_tokens()
.
original df with additional merged column added
## Not run:
#' table_db %>%
nhsbsaR::oracle_merge_strings(
first_col = "ADDRESS_ONE",
second_col = "ADDRESS_TWO",
merge_col = "ADDRESS_MERGED"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.