Usage
pv_import(path = NULL, meta_path = NULL, save_as = NULL, dest = NULL)
Arguments
- path
path to file to import
- meta_path
path to metadata file to validate nrows after import
- save_as
file type to save as: "rds", "rda", "qs", "csv", "parquet"
- dest
destination for save_as, defaults to working directory
Details
The function uses the vroom package to import tab separated files
downloaded from the PatentsView data download site.
Examples
if (FALSE) applications <- pv_import("grants/application.tsv.zip",
meta_path = "grants/meta_grants.rds", save_as = ".qs", dest = "grants")