mtbl_get: Retrieve a key/value pair from an mtbl by key

Description Usage Arguments Examples

Description

In theory there are no duplicates, but this still returs an iterator that you'll need to use mtbl_next() with.

Usage

1
mtbl_get(x, key)

Arguments

x

an mtbl file opened with read_mtbl()

key

string (exact) to look for in the keys

Examples

1
2
mtbl <- read_mtbl(system.file("extdata/sample.mtbl", package="mtblr"))
mtbl_next(mtbl_get(mtbl, "aa"))

brudis-r7/mtblr documentation built on May 13, 2019, 7:55 a.m.