R/Repository.R

##    archivist package for R
##
#' @title Repository 
#'
#' @description
#' \code{Repository} stores specific values of an artifact, different for 
#' various artifact's classes and artifacts themselves.
#' To learn more about artifacts visit \link[archivist]{archivist-package}.
#' 
#' @template roxlate-references
#' @template roxlate-contact
#' 
#' @details
#' 
#' \code{Repository} is a folder with an SQLite database stored in a file named \code{backpack}
#' and a subdirectory named \code{gallery}.
#' 
#' \code{backpack} contains two tables:\emph{artifact} and \emph{tag}.
#' \emph{artifact} table consists of three columns:
#' \itemize{
#'  \item \code{md5hash},
#'  \item \code{name},
#'  \item \code{createdDate},
#' }
#' while \emph{tag} table consists of the following three columns:
#' \itemize{
#'  \item \code{artifact},
#'  \item \code{tag},
#'  \item \code{createdDate}.
#' }
#' 
#' \code{gallery} collects the following objects:
#' \itemize{
#'  \item artifacts and artifacts' data saved as \code{.rda} files,
#'  \item artifacts' miniatures saved as \code{.txt} and \code{.png} files.
#' }
#'  
#' 
#' @seealso 
#' Functions using \code{Repository} are:
#' \itemize{
#'  \item \link{addTagsRepo},
#'  \item \link{ahistory},
#'  \item \link{aread},
#'  \item \link{asearch},
#'  \item \link{cache},
#'  \item \link{getTagsLocal},
#'  \item \link{getTagsRemote},
#'  \item \link{splitTagsLocal},
#'  \item \link{splitTagsRemote},
#'  \item \link{loadFromLocalRepo}, 
#'  \item \link{loadFromRemoteRepo},
#'  \item \link{rmFromLocalRepo},
#'  \item \link{saveToRepo},
#'  \item \link{searchInLocalRepo},
#'  \item \link{searchInRemoteRepo}, 
#'  \item \link{shinySearchInLocalRepo},
#'  \item \link{showLocalRepo},
#'  \item \link{showRemoteRepo},
#'  \item \link{summaryLocalRepo},
#'  \item \link{summaryRemoteRepo}.  
#'  }
#' Function creating \code{Repository} is:
#' \itemize{
#'  \item \link{createLocalRepo}.
#' }
#' Function deleting \code{Repository} is:
#' \itemize{
#'  \item \link{deleteLocalRepo}.
#' }
#' Functions coping \code{Repository} are:
#' \itemize{
#'  \item \link{copyLocalRepo},
#'  \item \link{copyRemoteRepo}.
#' }
#' Functions creating a zip archive from an existing \code{Repository} are:
#' \itemize{
#'  \item \link{zipLocalRepo},
#'  \item \link{zipRemoteRepo}.
#' }
#' Functions setting global path to the \code{Repository} are:
#' \itemize{
#'  \item \link{setLocalRepo},
#'  \item \link{setRemoteRepo}.
#' }
#' Learn more about \code{Repository} at \pkg{archivist} \code{wiki} webpage on 
#' \href{https://github.com/pbiecek/archivist/wiki/archivist-package-Repository}{Github}.
#' @family archivist
#' @name Repository
#' @docType class
invisible(NULL)
pbiecek/archivist documentation built on May 25, 2021, 11:36 p.m.