R/crsra_tabledesc.R

Defines functions crsra_tabledesc

Documented in crsra_tabledesc

#' Returns description for a table
#'
#' @param x Name of the table to get the description
#'
#' @return The description for a table based on the
#' description provided by Coursera in the data exports
#' @examples
#' crsra_tabledesc("assessments")
#' @export
crsra_tabledesc <- function(x){
    table_names = names(crsra::tabdesc)
    x = match.arg(x, choices = table_names)
    crsra::tabdesc[x]
}

Try the crsra package in your browser

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

crsra documentation built on May 2, 2019, 4:54 a.m.