randrescastaneda / joyn

joyn provides a set of tools to analyze the quality of merging (i.e., joining) data frames. It is a JOY to join with joyn
https://randrescastaneda.github.io/joyn/
Other
7 stars 2 forks source link

refactor and draft of merge.data.table wrapper #28

Closed randrescastaneda closed 9 months ago

randrescastaneda commented 9 months ago

Hi @zander-prinsloo ,

This PR implements the refactor in joyn::joyn() and also the first draft of joyn::merge() that should work in replacement of base::merge() or data.table::merge(). Several things to keep in mind

  1. The merge() function is calling joyn() but it has not been tested because I am waiting for you to finish the workhorse
  2. I moved the current tests of joyn::merge() to joyn::joyn(), so joyn::merge() has no unit test for now.
  3. I added the suffixes, following data.table, so they need to be implemented in joyn
  4. allow.cartesian needs to be implemented
  5. no.dups needs to be implemented
  6. increased version to 0.1.4.9002

I think this is all for now. The Github tests won't pass with this PR, but I created it for you to start from here if you want to. Also, I won't do anything else in this branch. Any new feature will have its own branch, starting from here.