write_tsvjsongz: Write a data frame to gzipped TSV and JSON files

View source: R/utils.R

write_tsvjsongzR Documentation

Write a data frame to gzipped TSV and JSON files

Description

Writes a data frame to gzipped TSV and JSON files. Files will be written to ⁠maindir/<path>.tsv.gz⁠ and ⁠maindir/json/<path>.json.gz⁠.

Usage

write_tsvjsongz(x, path, maindir)

Arguments

x

The data frame to write.

path

Relative path to write the files to, sans the file extensions - these will be appended appropriately.

maindir

Main directory to write the files to.


umccr/gpgr documentation built on April 10, 2024, 10:12 a.m.