mtbl_export_values: Export mtbl _values_ to a file

Description Usage Arguments Details Examples

Description

Given an mtbl file opened with read_mtbl(), this function will export each value from the mtbl key/value pair to path with each value record terminated by a newline.

Usage

1

Arguments

x

an mtbl file opened with read_mtbl()

path

full path to output file

Details

The use-case driving this function is exporting the value side of Project Sonar mtbl files since it would help in processing jq pipelines.

Examples

1
2
mtbl <- read_mtbl(system.file("extdata/sample.mtbl", package="mtblr"))
mtbl_export(mtbl, tempfile())

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