Intersect: Intersect

Description Usage Arguments Details Value See Also Examples

View source: R/Intersect.R

Description

Convenience function for comparing a data.frame with table entries of a database. This is used to see if certain entries already exist in the database.

Usage

1

Arguments

data

data.frame whose entries are compared to a database table

table

chr of database table name

db

chr full file name with path of database

Details

What columns exactly are compared depends on the table value.

Value

bool vector or list of bool vector and a data.frame

See Also

Other SQLite handler functions: InsertBLOB, Insert, SelectBLOB, Select, UpdateBLOB, Update

Examples

1
2
3
4
5
6
7
8
db <- "db/test.db"
Create_testDB(db)
df <- Select(
  "transactions", 
  "db/test.db", 
  le = list(payor_id = 2), 
  eq = list(type = c("food", "purchase"))
 )

mRcSchwering/abacus documentation built on May 21, 2019, 9:18 a.m.