| llm_join | R Documentation |
Fuzzy join with LLM
llm_join(x, y, key1, key2, ...)
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() |
the fuzzy-joined data.frame
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.