cereal.csv

The data in cereal.csv includes nutrition information collected from n=30n=30 breakfast cereals. The data, which were provided by Lock et al. (2020), were obtained from http://nutritionresource.com/.


The attributes included in the data are:


Preview

# Load library
library(tidyverse)

# Import data
cereal = read_csv(file = "https://raw.githubusercontent.com/zief0002/epsy-5261/main/data/cereal.csv")

# View data
cereal
# A tibble: 30 × 10
   name                  company serving calories   fat sodium carbs fiber
   <chr>                 <chr>     <dbl>    <dbl> <dbl>  <dbl> <dbl> <dbl>
 1 AppleJacks            K          1         117   0.6    143    27   0.5
 2 Boo Berry             G          1         118   0.8    211    27   0.1
 3 Cap'n Crunch          Q          0.75      144   2.1    269    31   1.1
 4 Cinnamon Toast Crunch G          0.75      169   4.4    408    32   1.7
 5 Cocoa Blasts          Q          1         130   1.2    135    29   0.8
 6 Cocoa Puffs           G          1         117   1      171    26   0.8
 7 Cookie Crisp          G          1         117   0.9    178    26   0.5
 8 Corn Flakes           K          1         101   0.1    202    24   0.8
 9 Corn Pops             K          1         117   0.2    120    28   0.3
10 Crispix               K          1         113   0.3    229    26   0.1
   sugars protein
    <dbl>   <dbl>
 1   15       1  
 2   14       1  
 3   16       1.3
 4   13.3     2.7
 5   16       1  
 6   14       1  
 7   13       1  
 8    3       2  
 9   15       1  
10    3       2  
# ℹ 20 more rows


References

Lock, R., Lock, P. F., Morgan, K. L., Lock, E. F., & Lock, D. F. (2020). Statistics: Unlocking the power of data. Wiley.