Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ensure the AI Company ID to Entity ID data has only distinct rows #116

Merged
merged 1 commit into from
Feb 10, 2024

Conversation

cjyetman
Copy link
Member

@cjyetman cjyetman commented Feb 9, 2024

closes #101

Comment on lines +246 to +247
) %>%
distinct()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: Should this be something we warn about? like "X input contains duplicate rows, removing"
Maybe not important.

Copy link
Member Author

@cjyetman cjyetman Feb 9, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷 maybe? I think that it should be expected that all of these inputs do not have random duplicate lines.

I've already gone down the rabbit hole of imagining adding validation functions to pacta.data.preparation for all of these inputs and all of the configuration options 😈

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i mean, in my perfect world, once #94 is closed, I would imagine just adding a simple "warning" message in the wrapper function whenever this kind of wonkiness happens would be sufficient

Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved with nit comment

@cjyetman cjyetman merged commit a349890 into main Feb 10, 2024
2 checks passed
@cjyetman cjyetman deleted the distinct-company-to-entity-data branch February 10, 2024 03:46
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.

deal with left_join() many-to-many relationship warnings
2 participants