R/records-class.R

#' @title An S4 Class to represent query result from the function \link{mycoportal}
#' @description \code{mycodist} holds a records table together with the query meta data and recommended citation
#'
#' @author Franz-Sebastian Krah
#'
#' @slot nr.records A numeric giving the number of records retrieved
#' @slot citation A character string with the recommended citation from the website
#' @slot query A list of the user arguments used
#' @slot records A data.frame with the query records results
#' @slot db A character string specifying the database (currently only MyCoPortal)
#' @seealso \code{"\link[=records-class]{records}"}

setClass("records",
         representation = list(
           nr.records = "numeric",
           citation = "character",
           query = "list",
           records = "data.frame",
           db = "character")
)
FranzKrah/rMyCoPortal documentation built on May 14, 2019, 11:11 a.m.