Skip to content

PRL-PRG/sxpdb

Repository files navigation

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

About

Record R values

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published