extract_tsv: Extract tsv

Description Usage Arguments Value Examples

Description

Extracts a tsv (tab delimited) file from the archive

Usage

1
extract_tsv(output_dir, commit, fl)

Arguments

output_dir

the directory where the archive structure is

commit

the commit id

fl

the file name to extract

Value

the data from the file specified

Examples

1
2
3
4
output_dir <- './tests/testthat/Data'
commit <- 'bd429f' #this will have to be changed
fl <- 'data.tsv'
df <- extract_tsv(output_dir, commit, fl)

holmesjoli/archiveR documentation built on May 11, 2019, 3:05 p.m.