patview.save.rds: Reads PatentsView .tsv files and saves them to .rds (also...

Description Usage Arguments Value

Description

Reads PatentsView .tsv files and saves them to .rds (also optional in batches)

Usage

1
2
3
patview.save.rds(file, dir = file.path(getwd(), "patview-tsv"),
  dir.rds = file.path(getwd(), "patview-rds"), batch.lines = 0,
  file.lines = 0, return.table = FALSE, compress.rds = FALSE)

Arguments

file

File name (.tsv is expected)

dir

Directory where the file is. Default is in working directory "patview-tsv"

dir.rds

Where to save. Default is in working directory "patview-rds"

batch.lines

How many lines is to read in one batch (10^7 is recomended). The default is 0, meanning that reading will be done in one batch as a single file.

file.lines

Length of the .tsv file. The default is 0. If is is not changed and batch.lines is specified then it will try to calculate it with grep.

return.table

Returns table if TRUE. Default is FALSE in which case returns list of saved files. Works only for batch.lines = 0

compress.rds

Should .rds be compressed. Default is FALSE

Value

Saved file(s) path.


stasvlasov/patviewer documentation built on May 23, 2019, 12:52 a.m.