R/make_pubtator_sqlite_path.R

Defines functions make_pubtator_sqlite_path

Documented in make_pubtator_sqlite_path

#' Make a path to the PubTator sqlite file.
#'
#' @inheritParams pt_to_sql
#'
#' @return A character string indicating the full path to the sqlite file.
make_pubtator_sqlite_path <- function(pt_path){
  if(!assertthat::is.string(pt_path)){
    stop("The path is invalid.")
  }
  file.path(pt_path, "pubtator.sqlite")
}

Try the pubtatordb package in your browser

Any scripts or data that you put into this service are public.

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