R/data-starbucks.R

#' Starbucks nutrition
#'
#' Nutrition facts for several Starbucks food items
#'
#'
#' @name starbucks
#' @docType data
#' @format A data frame with 77 observations on the following 7 variables.
#' \describe{
#'   \item{item}{Food item.}
#'   \item{calories}{Calories.}
#'   \item{fat}{a numeric vector}
#'   \item{carb}{a numeric vector}
#'   \item{fiber}{a numeric vector}
#'   \item{protein}{a numeric vector}
#'   \item{type}{a factor with levels \code{bakery}, \code{bistro box}, \code{hot breakfast}, \code{parfait}, \code{petite}, \code{salad}, and \code{sandwich}}
#'   }
#' @source \url{https://www.starbucks.com/menu}, retrieved 2011-03-10.
#' @keywords datasets
#' @examples
#'
#' starbucks
"starbucks"
OpenIntroStat/openintro documentation built on June 4, 2024, 4:19 a.m.