chrkeys_to_rawkeys: Convert between key types.

View source: R/keys.R

chrkeys_to_rawkeysR Documentation

Convert between key types.

Description

rbedrock represents database keys two different ways. chrkeys are a human-readable format understood by most functions. rawkeys are used internally, by the methods of bedrockdb objects and ⁠bedrock_leveldb_*⁠ functions.

Usage

chrkeys_to_rawkeys(keys)

rawkeys_to_chrkeys(keys)

Arguments

keys

a character vector of chrkeys or a list or rawkeys

Value

chrkeys_to_rawkeys() returns a list of raw vectors.

    `rawkeys_to_chrkeys()` returns a character vector.

rbedrock documentation built on Oct. 7, 2023, 1:07 a.m.