rfm icon indicating copy to clipboard operation
rfm copied to clipboard

Rename customer_id column in rfm-table-transaction.R

Open elalbaicin opened this issue 1 year ago • 0 comments

I was getting an error whenever I ran rfm_table_order(); as it turns out, the issue was at a join in rfm_prep_bins(). The data frame "other_cols" passed to argument "data" did not have a column named "customer_id", so it couldn't be used as a join key and the function would crash.

In order to solve the issue, I renamed the customer ID column in "other_cols" with rfm_table_order.default()

elalbaicin avatar Apr 30 '24 19:04 elalbaicin