R/meta_status.R

Defines functions meta_status

Documented in meta_status

#' artlookR survey status metadata
#'
#' @return A list with the label names and corresponding levels for survey status.
#' @details This may be a bit excessive. It's just setting up the factors for when you need to tag survey status as stored in the
#' \code{state} column in the artlookR \code{survey_attempts} table.
#'
#' * Because this information is not stored in the artlookR database, you are not required to run the \code{connection.R} script
#' and create a connection object for this script to run.
#' @examples meta_status()
#' @export
meta_status <- function(...){

  output <- list(level = c("complete", "in_progress", "assigned"),
                 label = c("Complete", "In Progress", "Not Started"))

  output

}
Ingenuity-Inc/artlookR documentation built on May 18, 2022, 12:33 a.m.