Skip to content

Rename customer_id column in rfm-table-transaction.R#91

Open
elalbaicin wants to merge 1 commit intorsquaredacademy:masterfrom
elalbaicin:master
Open

Rename customer_id column in rfm-table-transaction.R#91
elalbaicin wants to merge 1 commit intorsquaredacademy:masterfrom
elalbaicin:master

Conversation

@elalbaicin
Copy link
Copy Markdown

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()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant