cust_dup_pct: Summarize percent of customers with extra rows in raw table

Description Usage Arguments See Also

View source: R/finalize.R

Description

Percent of customers: (based on deduplicated count) with extra rows in the raw customer ID table. This will give a lower percentage than check_dups because it only counts duplicated customers once. I consider this to be a more meaningful measure of the customer duplication rate.

Usage

1
cust_dup_pct(cust, cust_dup, return_msg = TRUE)

Arguments

cust

input customer table

cust_dup

table of customers (with dups) produced by cust_dup_pull

return_msg

If TRUE, returns a message with the duplication percentage, otherwise, the duplication percentage measure

See Also

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


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