Data Frame Joins Leveraging 'data.table'

Extends 'data.table' join functionality, lets it work with any data frame class, and provides a familiar 'x'/'y'-style interface, enabling broad use across R. Offers NA-safe matching by default, on-the-fly column selection, multiple match-handling on both sides, 'x' or 'y' row order, and a row origin indicator. Performs inner, left, right, full, semi- and anti-joins with equality and inequality conditions, plus cross joins. Specific support for 'data.table', (grouped) tibble, and 'sf'/'sfc' objects and their attributes; returns a plain data frame otherwise. Avoids data-copying of inputs and outputs. Allows displaying the 'data.table' code instead of (or as well as) executing it.


CRAN status R-universe version R-CMD-check codecov Dependencies (tinyverse)

Lifecycle: experimental Documentation License: MIT

fjoin fjoin logo

Data frame joins leveraging data.table

Please view this page on the package website and head to the Get started guide next.

CRAN description

Extends data.table join functionality, lets it work with any data frame class, and provides a familiar x/y-style interface, enabling broad use across R. Offers NA-safe matching by default, on-the-fly column selection, multiple match-handling on both sides, x or y row order, and a row origin indicator. Performs inner, left, right, full, semi- and anti-joins with equality and inequality conditions, plus cross joins. Specific support for data.table, (grouped) tibble, and sf/sfc objects and their attributes; returns a plain data frame otherwise. Avoids data-copying of inputs and outputs. Allows displaying the data.table code instead of (or as well as) executing it.

Installation

Stable release (CRAN):

install.packages("fjoin")

Latest development version (R-universe):

install.packages("fjoin", repos = c("https://trobx.r-universe.dev"))

More information

See Get started.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fjoin")

0.1.1 by Toby Robertson, 7 months ago


https://trobx.github.io/fjoin/


Report a bug at https://github.com/trobx/fjoin/issues


Browse source code at https://github.com/cran/fjoin


Authors: Toby Robertson [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports data.table

Suggests dplyr, sf, testthat, knitr, rmarkdown, quarto, bench, ggplot2


See at CRAN