cdb-package: Reading and Writing Constant DataBases

Description Details Author(s) References Examples

Description

A constant database is a data structure created by Daniel J. Bernstein in his cdb package. Its format consists on a sequence of (key,value)-pairs. This R package emulates the basic cdb utilities: read (cdbget) and write (cdbdump).

Details

Package: cdb
Type: Package
Version: 0.0.1
Date: 2013-04-14
License: GPL3

Function read.cdb reads a cdb file and returns a data frame with all the keys and the values of the constant database.

Function write.cdb exports a data frame with two columns to a text file, using the record format proposed by D. J. Bernstein.

Author(s)

Emilio Torres Manzanera

Maintainer: Emilio Torres Manzanera <torres@uniovi.es>

References

Daniel J. Bernstein cdb http://cr.yp.to/cdb.html

Michael Tokarev (2012) TinyCDB - a Constant DataBase http://www.corpit.ru/mjt/tinycdb.html

Examples

1
2
## Not run: read.cdb("example.cdb")
## Not run: write.cdb(x, filename="Base.txt", type="txt")

Example output

Loading required package: bitops

cdb documentation built on May 2, 2019, 4:45 p.m.