pt_to_sql: Create sqlite database from the pubtator data.

Description Usage Arguments Examples

View source: R/pt_to_sql.R

Description

Create sqlite database from the pubtator data.

Usage

1
pt_to_sql(pt_path, skip_behavior = TRUE, remove_behavior = FALSE)

Arguments

pt_path

A character string indicating the full path of the directory containing the pubtator gz files to be extracted.

skip_behavior

TRUE/FALSE indicating whether the file should be re-extracted if it has already been extracted.

remove_behavior

TRUE/FALSE indicating whether the gz files should be removed following successful extraction.

Examples

1
2
3
4
5
download_path <- tempdir()
current_dir <- getwd()
setwd(download_path)
pt_to_sql("PubTator")
setwd(current_dir)

pubtatordb documentation built on Dec. 1, 2019, 1:17 a.m.