llm_join: Fuzzy join with LLM

View source: R/llmjoin.R

llm_joinR Documentation

Fuzzy join with LLM

Description

Fuzzy join with LLM

Usage

llm_join(x, y, key1, key2, ...)

Arguments

x

a data.frame to be joined on the lhs.

y

a data.frame to be joined on the rhs.

key1

string, name of the key column of data.frame x waiting for pairing.

key2

string, name of the key column of data.frame y waiting for pairing.

...

extra params passed to chat_llm()

Value

the fuzzy-joined data.frame

Examples


  x <- data.frame(id = c("01", "02", "04"), value = c(10, 20, 40))
  y <- data.frame(month = c("January", "Feb", "May"), amount = c(100, 200, 400))

  llm_join(x, y, key1 = "id", key2 = "month")


llmjoin documentation built on June 17, 2026, 1:08 a.m.