cust_dup_samp: Pull a sample of duplicated customers and their sales

Description Usage Arguments See Also

View source: R/finalize.R

Description

Only select variables are included, with a distinct operation run at the end.

Usage

1
2
3
4
5
6
cust_dup_samp(
  cust_dup,
  sale,
  samp_size = 10,
  vars = c("cust_id", "cust_id_raw", "sale_period", "first", "last", "dob", "zip4dp")
)

Arguments

cust_dup

table of customers (with dups) produced by cust_dup_pull

sale

data frame with uncorrected customer IDs

samp_size

number of customers to pull in sample

vars

variables to include in output

See Also

Other finalize production data: cust_dup_demo_plot(), cust_dup_demo(), cust_dup_identify(), cust_dup_nomissing(), cust_dup_pct(), cust_dup_pull(), cust_dup_year(), res_id


southwick-associates/salicprep documentation built on Oct. 6, 2020, 12:03 p.m.