Skip to content

Latest commit

 

History

History
51 lines (28 loc) · 1.01 KB

README.md

File metadata and controls

51 lines (28 loc) · 1.01 KB

R-CMD-check codecov

sxpdb

Stores R values. It stores the values in an efficient ways that scales to millions of unique values and provides a rich query API to find values from the database.

db <- open_db("cran_db")

add_val(db, 45)
add_val(db, list(a = 34, b = c(34.5, 45), c = "test"))

add_val_origin(db, 450, "pkg", "fun", "arg1")

print(sample_val(db))

db2 <- open_db("db2")

merge_db(db, db2)

close_db(db)
close_db(db2)

S3 API

db <- open_db("cran_db", quiet=FALSE)

add_val(db, 45)

db[0]

summary(db)

length(db)

close(db)

Contributing

Make sure to activate pre-commit hooks. We use pre-commit