patstatr.filter: Filter tables of PatStat raw data

Description Usage Arguments Value

Description

Similar to dplyr::filter but for tables of PatStat raw data data saved in multiple .rds files

Usage

1
2
patstatr.filter(file.pattern, ..., file.dir = file.path(getwd(),
  "patstat-rds"), progress.bar = TRUE, cols = character(0))

Arguments

file.pattern

A pattern for getting a file or a set of files (data batches)

...

A filtering conditions to fetch certain rows. (See dplyr::filter)

file.dir

A path to directory with .rds files. Default is in working directory "patstat-rds".

progress.bar

Whether to show progress bar (with pbapply package). Default is TRUE

cols

Which column to select. Default is all columns.

Value

A data.table with a subset the data.


stasvlasov/patstatr documentation built on June 5, 2019, 10:21 a.m.