Equivalent of foverlaps in tidyverse

Hi

I would like to merge 2 data.frames by partial time overlap. A quick internet search pointed to the data.table::foverlaps function... Are you aware of an equivalent that is based on tibbles/data.frame and tidyverse functions rather than data.table?

Thanks

You can use join_by():
Join specifications — join_by • dplyr

I doubt it will match the "f" (fast) part of data.table::foverlaps() though.

Thanks Martin,

I don't think I need the fast operation of data.table given the size of my data. join_by should do it :smiley:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.