Skip to content

Commit

Permalink
materials for week 4
Browse files Browse the repository at this point in the history
  • Loading branch information
dicook committed Mar 15, 2024
1 parent 61c432a commit 1973afa
Show file tree
Hide file tree
Showing 40 changed files with 3,256 additions and 62 deletions.
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project:
- "*.md"
- "!quizzes/"
- "!assignments/"
- "week4/tutorial.html"
- "!week4/slides*"
- "next-time*"
output-dir: docs
resources:
Expand Down
89 changes: 89 additions & 0 deletions data/chocolates.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
"Name","MFR","Country","Type","Calories","CalFat","TotFat_g","SatFat_g","Chol_mg","Na_mg","Carbs_g","Fiber_g","Sugars_g","Protein_g"
"Noir 86% Cacao","Cote D'Or","Belgium","Dark",460,380,44,26,0,0,28,10,10,8
"70% Cocoa","Cote D'Or","Belgium","Dark",600,432,48,30,10,0,42,10,28,8
"Solid Dark Chocolate Bar","Godiva","Belgium","Dark",534.883721,302.325581,32.5581395,20.9302326,0,0,60.4651163,9.30232558,46.5116279,6.97674419
"72% Extra Dark Chocolate","Godiva","Belgium","Dark",534.883721,348.837209,39.5348837,20.9302326,0,81.3953488,41.8604651,13.9534884,27.9069767,9.30232558
"Extra Dark Chocolate Bar","Guylian","Belgium","Dark",575.757576,333.333333,39.3939394,24.2424242,0,90.9090909,48.4848485,12.1212121,33.3333333,9.09090909
"Dark Chocolate Bar","Guylian","Belgium","Dark",575.757576,303.030303,33.3333333,0,0,121.212121,57.5757576,9.09090909,18.1818182,6.06060606
"Dark Chocolate - 70% Cacao","Nacional De Chocolates","Colombia","Dark",571.428571,334.285714,37.1428571,22.8571429,0,0,48.5714286,11.4285714,28.5714286,7.14285714
"Dark Chocolate - 65% cacao","Nacional De Chocolates","Colombia","Dark",585.714286,360,40,22.8571429,0,0,50,10,34.2857143,5.71428571
"Dark Chocolate","Merci","France","Dark",578.947368,342.105263,36.8421053,21.0526316,26.3157895,39.4736842,52.6315789,0,44.7368421,7.89473684
"Noir 76% Cocoa","Poulain","France","Dark",600,372,42,26,0,8,4,8,24,10
"Ultime Noir 86% Cocoa","Poulain","France","Dark",640,450,50,30,0,8,34,10,16,10
"Dark Chocolate Bar 86%","Poulain","France","Dark",640,450,50,30,0,8,34,10,16,10
"Noir Cafe 64% Cocoa","Poulain","France","Dark",580,348,40,24,10,20,48,6,32,8
"Extra Dark Chocolate","President's Choice","France","Dark",605.263158,378.947368,42.1052632,26.3157895,0,0,44.7368421,10.5263158,28.9473684,10.5263158
"Fair Trade Dark Chocolate - Peru","President's Choice","France","Dark",575,360,40,25,0,0,47.5,10,32.5,7.5
"European Dark Chocolate","President's Choice","France","Dark",600,378,42,24,0,50,48,12,30,8
"Fine Extra Dark","Ritter Sport","German","Dark",558,279,44.6,28.46,0.01,48,31,5.5398740691954,29.04,8.3
"Dark Chocolate","Ritter Sport","German","Dark",506.666667,293.333333,32,0,0.13333333,13.3333333,58.6666667,8,48,5.33333333
"Dark Chocolate Bar","Choceur","Switzerland","Dark",558.139535,348.837209,39.5348837,25.5813953,34.8837209,34.8837209,46.5116279,4.65116279,39.5348837,6.97674419
"Dark Chocolate (Chili)","Lindt","Switzerland","Dark",500,292.5,32.5,20,0,37.5,50,7.5,47.5,5
"Excellence, Fine Dark","Lindt","Switzerland","Dark",539.795918,422.44898,46.9387755,28.5714286,0,40.8163265,19.3877551,2.04081633,13.2653061,11.2244898
"Dark Chocolate Bar","Lindt","Switzerland","Dark",400,315,35,20,0,50,55,0,2.5,7.5
"Swiss, 70% Cocoa","Lindt","Switzerland","Dark",556.122449,392.857143,43.622449,25.7653061,0,51.0204082,33.4183673,5.10204082,28.3163265,7.65306122
"After Eight Dark Milk Chocolate Bar","Nestle","Switzerland","Dark",577.777778,320,35.5555556,22.2222222,11.1111111,44.4444444,57.7777778,6.66666667,48.8888889,4.44444444
"Dark Chocolate Bar 86%","Poulain","Switzerland","Dark",640,450,50,30,0,8,34,10,16,10
"Dark w/ Honey and Almond Nougat","Toblerone","Switzerland","Dark",484.848485,326.182592344828,30.3030303,18.1818182,15.1515152,0,60.6060606,6.06060606,48.4848485,6.06060606
"Dark Chocolate","Bendicks","UK","Dark",560,380,42.4,25.6,0,40,35.2,1.6,27.2,9.6
"Royal Dark","Cadbury","UK","Dark",550,292.5,32.5,20,12.5,0,60,7.5,50,5
"Dark Chocolate Bar","Celtic","UK","Dark",534.285714,348.571429,38.8571429,0,8.224119,0,40.5714286,0,0,5.71428571
"Dark Chocolate 85% cocoa","Green & Black's","UK","Dark",700,550,62.5,35,0,0,25,10,12.5,7.5
"Dark Chocolate 70% cocoa","Green & Black's","UK","Dark",551,370,41.1,0,0,5,36,5,0,9.3
"Dark","Sainsbury's","UK","Dark",570,425,47,29.5,0,0,29,9.5,26,6.5
"85% Cocoa Dark French Chocolate","Thorntons","UK","Dark",559,451,50.1,31.5,0,0,16.3,0,10.5,9.8
"85% Cocoa Dark French Chocolate","Thorntons","UK","Dark",559,451,50.1,31.5,0,0,16.3,0,10.5,9.8
"73% Dark Chocolate Bar","Chocolove","US","Dark",610,390,43.3333333,26.6666667,0,6.66666667,46.6666667,10,26.6666667,6.66666667
"Dark Chocolate Bar 59%","Dagoba","US","Dark",473.684211,298.245614,35.0877193,21.0839663917647,0,0,52.6315789,8.77192982,40.3508772,5.26315789
"71% Silky Smooth Dark Chocolate Large Bar","Dove","US","Dark",571.428571,400,45.7142857,28.5714286,0,0,40,8.57142857,25.7142857,5.71428571
"63% Silky Smooth Dark Chocolate Large Bar","Dove","US","Dark",514.285714,342.857143,37.1428571,22.8571429,0,0,48.5714286,8.57142857,34.2857143,5.71428571
"Rich Dark Chocolate Bar","Dove","US","Dark",514.905149,298.102981,32.5203252,18.9701897,13.5501355,0,59.6205962,8.1300813,46.0704607,5.4200542
"Promises Silky Smooth Dark Chocolate","Dove","US","Dark",600,342.857143,40,20,8.15444543689655,28.5714286,60,5.71428571,48.5714286,8.57142857
"Dark Chocolate Large Tablet Bar","Dove","US","Dark",515.151515,300,33.3333333,21.0839663917647,15.1515152,0,60.6060606,9.09090909,45.4545455,6.06060606
"Chocollate, 100% Cacao","Ghiradelli","US","Dark",511.627907,488.372093,53.4883721,32.5581395,0,0,32.5581395,16.2790698,0,11.627907
"Intense Dark 72% Cacao","Ghiradelli","US","Dark",511.627907,395.348837,44.1860465,25.5813953,0,0,46.5116279,9.30232558,27.9069767,6.97674419
"Cacao Reserve by Hershey's Ultra-Thin Squares","Hershey's","US","Dark",450,337.5,37.5,22.5,0,0,50,12.5,32.5,7.5
"65% Cacao Premium Dark","Hershey's","US","Dark",575,350,37.5,22.5,0,0,52.5,10,37.4140040525287,7.5
"Special Dark","Hershey's","US","Dark",439.02439,263.414634,29.2682927,19.5121951,4.87804878,36.5853659,60.9756098,7.31707317,51.2195122,4.87804878
"Bliss Dark Chocolate","Hershey's","US","Dark",465.116279,293.023256,32.5581395,20.9302326,11.627907,23.255814,58.1395349,6.97674419,46.5116279,6.97674419
"Rich Dark Chocolate Kisses","Hershey's","US","Dark",560.97561,285.365854,31.7073171,19.5121951,12.195122,60.9756098,60.9756098,7.31707317,51.2195122,4.87804878
"Pure Dark Chocolate","Hershey's","US","Dark",567.567568,316.216216,35.1351351,21.0839663917647,13.5135135,13.5135135,54.0540541,10.8108108,37.8378378,8.10810811
"Dark Chocolate Bar","Mars","US","Dark",460,162,18,12,10,90,72,2,52,4
"Dark Chocolate Candy Bar","Meijer","US","Dark",537.5,325,35,22.5,0,0,50,5,45,5
"82% Extra Dark","Scharffen Berger","US","Dark",604.651163,395.348837,44.1860465,27.9069767,0,0,41.8604651,2.3255814,20.9302326,9.30232558
"Dark Chocolate Bar 60%","Scharffen Berger","US","Dark",744.186047,418.604651,46.5116279,27.9069767,0,0,74.4186047,0,53.4883721,9.30232558
"Dark Milk Chocolate","Scharffen Berger","US","Dark",511.627907,372.093023,44.1860465,27.9069767,11.627907,69.7674419,37.2093023,9.30232558,23.255814,11.627907
"Dark Chocolate Bar","Starbucks","US","Dark",488.372093,325.581395,39.5348837,23.255814,11.627907,0,51.1627907,6.97674419,39.5348837,6.97674419
"Dark Chocolate","Trader Joe's","US","Dark",460,260,32,18,10,0,56,6,46,6
"Alpine Milk Chocolate","Milka","Austria","Milk",530,265,29.5,17.6,0,0,58.5,0,57.5,6.6
"Chocolate Confection Alpine Milk","Milka","Austria","Milk",545.454545,272.727273,30.3030303,18.1818182,15.1515152,90.9090909,60.6060606,3.03030303,57.5757576,6.06060606
"Milk Chocolate","Cote D'Or","Belgium","Milk",540,288,32,18,20,120,58,2,54,8
"Solid Milk Chocolate Bar","Godiva","Belgium","Milk",511.627907,279.069767,30.2325581,18.6046512,0,93.0232558,55.8139535,2.3255814,53.4883721,6.97674419
"Milk Chocolate Bar","Guylian","Belgium","Milk",575.757576,333.333333,36.3636364,24.2424242,30.3030303,90.9090909,54.5454545,3.03030303,51.5151515,6.06060606
"Jet Milk Chocolate","Jet","Colombia","Milk",560,324,36,18,0,80,56,2,50,6
"Lait Volupte 33 % Cocoa","Poulain","France","Milk",580,330,36,22,30,110,54,0,50,6
"Milk Chocolate","President's Choice","France","Milk",552.631579,307.894737,34.2105263,21.0526316,13.1578947,78.9473684,57.8947368,7.89473684,47.3684211,7.89473684
"European Rich Milk Chocolate","President's Choice","France","Milk",560,288,32,20,20,80,58,4,50,8
"Milk Chocolate","Ritter Sport","German","Milk",531,265,30.5,19.91,10.67,99.4,57,2.8,56.43,7.1
"Alpine Milk Chocolate","Ritter Sport","German","Milk",538,291,31.4,20.71,13.45,80.7,55.6,2.7,53.31,8.3
"Milk Chocolate","Choceur","Switzerland","Milk",575.757576,333.333333,36.3636364,24.2424242,15.1515152,60.6060606,54.5454545,0,45.4545455,9.09090909
"Swiss, Milk Gold","Lindt","Switzerland","Milk",543.367347,278.061224,30.8673469,20.4081633,12.755102,191.326531,58.9285714,2.55102041,56.377551,7.65306122
"Crunch","Nestle","Switzerland","Milk",501.138952,227.790433,25.0569476,15.9453303,11.3895216,136.67426,68.3371298,2.27790433,54.6697039,4.55580866
"Classic Milk Chocolate Bar","Nestle","Switzerland","Milk",501.138952,234.624146,27.3348519,15.9453303,11.3895216,148.063781,68.3371298,2.27790433,54.6697039,4.55580866
"Mirage Chocolate Bar","Nestle","Switzerland","Milk",524.390244,241.463415,26.8292683,17.0731707,24.3902439,48.7804878,60.9756098,2.43902439,58.5365854,7.31707317
"Aero Chocolate Bar","Nestle","Switzerland","Milk",585.365854,0,31.7073171,19.5121951,24.3902439,109.756098,70.7317073,0,70.7317073,4.87804878
"Milk w/ Honey and Almond Nougat","Toblerone","Switzerland","Milk",525,250,27.5,15,25,50,65,2.5,55,5
"Dairy Milk","Cadbury","UK","Milk",550,270,30,20,25,112.5,60,2.5,52.5,7.5
"Fine Milk Chocolate","Celtic","UK","Milk",497.142857,328.571429,36.5714286,0,8.224119,0,51.1428571,0,0,6.85714286
"Milk Chocolate with Sweetener","Celtic","UK","Milk",497.142857,328.571429,36.5714286,23.1428571,8.224119,66.5714286,51.1428571,1.71428571,8.57142857,6.85714286
"Milk Chocolate","Green & Black's","UK","Milk",522.857143,265.714286,29.7142857,0,0,0,54,0,0,10
"Belgian Milk","Sainsbury's","UK","Milk",270,147.5,16.5,22.25,0,0,25,1,47.75,4.5
"Milk Chocolate","Thorntons","UK","Milk",546.666667,310,34.6666667,21.6666667,0,40.6338540272414,52,2.33333333,50.6666667,7
"Milk Chocolate Large Tablet Bar","Dove","US","Milk",514.285714,282.857143,31.4285714,17.1428571,14.2857143,57.1428571,57.1428571,2.85714286,51.4285714,5.71428571
"Promises Silky Smooth Milk Chocolate","Dove","US","Milk",628.571429,314.285714,37.1428571,22.8571429,14.2857143,71.4285714,68.5714286,2.85714286,62.8571429,5.71428571
"Silky Smooth Milk Chocolate - Extra Creamy","Dove","US","Milk",515.151515,272.727273,30.3030303,18.1818182,15.1515152,30.3030303,60.6060606,6.06060606,48.4848485,6.06060606
"Milk Chocolate Square","Ghiradelli","US","Milk",475,250,27.5,15,12.5,37.5,62.5,5,52.5,5
"Symphony Milk Chocolate Bar","Hershey's","US","Milk",530.952381,276.190476,30.4761905,18.3333333,23.8095238,100,58.0952381,1.66666667,54.047619,8.57142857
"35% Cacao Premium Milk","Hershey's","US","Milk",550,325,37.5,22.5,25,75,52.5,2.5,50,7.5
"41% Cacao Milk Chocolate","Scharffen Berger","US","Milk",465.116279,302.325581,32.5581395,20.9302326,23.255814,116.27907,48.8372093,4.65116279,41.8604651,7.23332675712644
"Milk Chocolate","Trader Joe's","US","Milk",520,280,32,18,20,70,58,0,54,6
Loading

0 comments on commit 1973afa

Please sign in to comment.