Skip to content

Commit

Permalink
Add the RTG tinned fish data
Browse files Browse the repository at this point in the history
  • Loading branch information
capnrefsmmat committed Aug 8, 2023
1 parent e3ce6b3 commit 32a928c
Show file tree
Hide file tree
Showing 3 changed files with 829 additions and 0 deletions.
18 changes: 18 additions & 0 deletions _freeze/daily-life/rtg-tinned-fish/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"hash": "c450f3ea63a14f5deacb7ece91e3d907",
"result": {
"markdown": "---\ntitle: RTG tinned fish\nauthor: Shunyi (Jess) Zheng\ndate: August 8, 2023\ndescription: The Rainbow Tomatoes Garden sells hundreds of kinds of canned\n seafood, and produces a complete table including 27 different attributes, from\n Latin name to sodium content. Write code to clean the data, then analyze\n factors affecting price and composition.\ncategories:\n - logistic regression\n - data cleaning\n - ANOVA\ndata:\n year: 2023\n files: rtg-tinned-fish.csv\n---\n\n\n## Motivation\n\n[Rainbow Tomatoes Garden](https://rainbowtomatoesgarden.com/) (RTG) is an online\nfarm stand that offers the largest selection of tinned fish in the world. Tinned\n(canned) fish is popular in many cultures worldwide, and there are many\nvarieties containing different seafoods, different preparations, and even sauces\nand spices added directly to the can.\n\nRTG created this canned fish dataset in order to present to its customers the\nvariety of options they offer, so customers can more easily find products they'd\nlike. We need to clean the data to use it, but once we do, we'll use it to study\nthe different types of tinned fish available worldwide.\n\n## Data\n\nThere are a total of 702 rows in the data, with each row corresponding to a\ndifferent canned seafood product.\n\n### Data preview\n\n\n<h4><a href=\" https://cmustatistics.github.io/data-repository/data/rtg-tinned-fish.csv \"> rtg-tinned-fish.csv </a></h4>\n<div data-pagedtable=\"false\">\n <script data-pagedtable-source type=\"application/json\">\n{\"columns\":[{\"label\":[\"Name (caveats to the data)\"],\"name\":[1],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"RTG $\"],\"name\":[2],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Oil/Water Used\"],\"name\":[3],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Type of Fish\"],\"name\":[4],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Latin Name\"],\"name\":[5],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Country Origin\"],\"name\":[6],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Brand\"],\"name\":[7],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Has Salt\"],\"name\":[8],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Has Sugar\"],\"name\":[9],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Sauce/Inclusions\"],\"name\":[10],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Boneless\"],\"name\":[11],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Skinless\"],\"name\":[12],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Pieces/Tin\"],\"name\":[13],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Tin Size (in grams unless otherwise noted)\"],\"name\":[14],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Tin Size (in oz unless otherwise noted)\"],\"name\":[15],\"type\":[\"dbl\"],\"align\":[\"right\"]},{\"label\":[\"Smoked\"],\"name\":[16],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Grilled/Seared\"],\"name\":[17],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Citrus\"],\"name\":[18],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Garlic\"],\"name\":[19],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Chili Pepper\"],\"name\":[20],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Tomato\"],\"name\":[21],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Dairy\"],\"name\":[22],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Gluten\"],\"name\":[23],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Organic\"],\"name\":[24],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Kosher Cert\"],\"name\":[25],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Servings/tin\"],\"name\":[26],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Sodium/Serv (mg)\"],\"name\":[27],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"% RDA Sodium\"],\"name\":[28],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"...29\"],\"name\":[29],\"type\":[\"chr\"],\"align\":[\"left\"]},{\"label\":[\"Judged Score\"],\"name\":[30],\"type\":[\"dbl\"],\"align\":[\"right\"]},{\"label\":[\"...31\"],\"name\":[31],\"type\":[\"chr\"],\"align\":[\"left\"]}],\"data\":[{\"1\":\"Albert Ménès Boneless Sardines in Organic Extra Virgin Olive Oil\",\"2\":\"15.5\",\"3\":\"Olive Oil\",\"4\":\"Sardines\",\"5\":\"NA\",\"6\":\"France\",\"7\":\"Albert Ménès\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"115\",\"15\":\"4.06\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"NA\",\"27\":\"NA\",\"28\":\"NA\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Albert Ménès Vintage Whole Anchovies, 2018\",\"2\":\"19\",\"3\":\"Olive Oil\",\"4\":\"Anchovy\",\"5\":\"NA\",\"6\":\"France\",\"7\":\"Albert Ménès\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"No\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"115\",\"15\":\"4.06\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"NA\",\"27\":\"NA\",\"28\":\"NA\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Alkorta Cod Fillets in Olive Oil\",\"2\":\"19\",\"3\":\"Olive Oil\",\"4\":\"Cod\",\"5\":\"Gadus morhua\",\"6\":\"Spain\",\"7\":\"Alkorta\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"200\",\"15\":\"7.00\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"2.5\",\"27\":\"370\",\"28\":\"15\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Alshark Moroccan Sardines in Oil\",\"2\":\"3.25\",\"3\":\"Vegetable Oil\",\"4\":\"Sardines\",\"5\":\"?\",\"6\":\"Morocco\",\"7\":\"Alshark\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"No\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"120\",\"15\":\"4.23\",\"16\":\"Yes\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"603\",\"28\":\"25\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Alshark Moroccan Sardines in Spicy Oil\",\"2\":\"3.25\",\"3\":\"Vegetable Oil\",\"4\":\"Sardines\",\"5\":\"?\",\"6\":\"Morocco\",\"7\":\"Alshark\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"Spiced/Spicy\",\"11\":\"No\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"120\",\"15\":\"4.23\",\"16\":\"Yes\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"Yes\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"603\",\"28\":\"25\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Boneless & Skinless Sardine Fillets in Olive Oil\",\"2\":\"6.75\",\"3\":\"Olive Oil\",\"4\":\"Sardines\",\"5\":\"Sardina pilchardus\",\"6\":\"Morocco\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"105\",\"15\":\"3.70\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"300\",\"28\":\"10\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Grated Mullet Bottarga (Salted, Dried Roe)\",\"2\":\"8.5\",\"3\":\"None\",\"4\":\"Mullet Roe\",\"5\":\"NA\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"20\",\"15\":\"0.70\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"NA\",\"27\":\"NA\",\"28\":\"10\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Mackerel Filets in Olive Oil\",\"2\":\"6.5\",\"3\":\"Olive Oil\",\"4\":\"Mackerel\",\"5\":\"Scomber scombrus / Scomber colias\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"125\",\"15\":\"4.40\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"330\",\"28\":\"14\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Mackerel Filets in Olive Oil with Ginger and Chili Pepper\",\"2\":\"6.5\",\"3\":\"Olive Oil\",\"4\":\"Mackerel\",\"5\":\"Scomber colias\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"Ginger, Chili Pepper\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"125\",\"15\":\"4.40\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"Yes\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"330\",\"28\":\"14\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Portuguese Sardines in Olive Oil\",\"2\":\"5\",\"3\":\"Olive Oil\",\"4\":\"Sardines\",\"5\":\"Sardina pilchardus\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"No\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"120\",\"15\":\"4.23\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"420\",\"28\":\"18\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Salmon al Naturale (in water)\",\"2\":\"12.5\",\"3\":\"Water\",\"4\":\"Salmon\",\"5\":\"Salmo salar\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"Unstated\",\"14\":\"120\",\"15\":\"4.20\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"140\",\"28\":\"6\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Spicy Portuguese Sardines in Olive Oil\",\"2\":\"5\",\"3\":\"Olive Oil\",\"4\":\"Sardines\",\"5\":\"Sardina pilchardus\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"Spiced/Spicy\",\"11\":\"No\",\"12\":\"No\",\"13\":\"Unstated\",\"14\":\"120\",\"15\":\"4.23\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"Yes\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"420\",\"28\":\"18\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Trancio di Tonno all'Olio d'Oliva (Yellowfin Tuna Loin Slice in Olive Oil)\",\"2\":\"13.5\",\"3\":\"Olive Oil\",\"4\":\"Tuna, Yellowfin\",\"5\":\"Thunnus albacares\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"NA\",\"12\":\"NA\",\"13\":\"NA\",\"14\":\"150\",\"15\":\"5.29\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"420\",\"28\":\"18\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Angelo Parodi Ventresca di Tonno in Olio d'Oliva (Yellowfin Ventresca in Olive Oil)\",\"2\":\"17\",\"3\":\"Olive Oil\",\"4\":\"Tuna, Yellowfin\",\"5\":\"Thunnus albacares\",\"6\":\"Italy\",\"7\":\"Angelo Parodi\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"NA\",\"12\":\"NA\",\"13\":\"NA\",\"14\":\"115\",\"15\":\"4.06\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"420\",\"28\":\"18\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Appel Herring Fillets in Paprika Sauce\",\"2\":\"6.5\",\"3\":\"Canola Oil\",\"4\":\"Herring\",\"5\":\"NA\",\"6\":\"Germany\",\"7\":\"Appel\",\"8\":\"Yes\",\"9\":\"Yes\",\"10\":\"Papkrika, Tomato\",\"11\":\"NA\",\"12\":\"NA\",\"13\":\"NA\",\"14\":\"200\",\"15\":\"7.05\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"Yes\",\"22\":\"Yes\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"2.5\",\"27\":\"410\",\"28\":\"16\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Appel Herring Fillets in Tomato Sauce\",\"2\":\"6.5\",\"3\":\"Canola Oil\",\"4\":\"Herring\",\"5\":\"NA\",\"6\":\"Germany\",\"7\":\"Appel\",\"8\":\"Yes\",\"9\":\"Yes\",\"10\":\"Tomato\",\"11\":\"NA\",\"12\":\"NA\",\"13\":\"NA\",\"14\":\"200\",\"15\":\"7.05\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"Yes\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"2.5\",\"27\":\"390\",\"28\":\"17\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Appel Smoked Trout Fillets, Skinless in Canola Oil\",\"2\":\"9.5\",\"3\":\"Canola Oil\",\"4\":\"Trout\",\"5\":\"NA\",\"6\":\"Germany\",\"7\":\"Appel\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"NA\",\"12\":\"NA\",\"13\":\"NA\",\"14\":\"110\",\"15\":\"3.88\",\"16\":\"Yes\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"490\",\"28\":\"21\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Ar de Arte Cockles in Brine 30/40, Fernando Rei Edition\",\"2\":\"46\",\"3\":\"Salt Brine\",\"4\":\"Cockles\",\"5\":\"Cerastoderma edule\",\"6\":\"Spain\",\"7\":\"Ar de Arte\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"30/40\",\"14\":\"110\",\"15\":\"3.88\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"370\",\"28\":\"15\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Ar de Arte Fried Mussels in Escabeche 7/10, Fernando Rei Edition\",\"2\":\"28\",\"3\":\"Olive Oil, Wine Vinegar\",\"4\":\"Mussels\",\"5\":\"Mytilus galloprovincialis\",\"6\":\"Spain\",\"7\":\"Ar de Arte\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"Escabeche\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"7/10\",\"14\":\"110\",\"15\":\"3.88\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"Yes\",\"20\":\"Not Specified\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"400\",\"28\":\"15\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"},{\"1\":\"Ar de Arte Razor Clams in Brine, Fernando Rei Edition\",\"2\":\"33.5\",\"3\":\"Salt Brine\",\"4\":\"Razor Clams\",\"5\":\"Ensis siliqua\",\"6\":\"Spain\",\"7\":\"Ar de Arte\",\"8\":\"Yes\",\"9\":\"No\",\"10\":\"None\",\"11\":\"Yes\",\"12\":\"Yes\",\"13\":\"8\",\"14\":\"110\",\"15\":\"3.88\",\"16\":\"No\",\"17\":\"No\",\"18\":\"No\",\"19\":\"No\",\"20\":\"No\",\"21\":\"No\",\"22\":\"No\",\"23\":\"No\",\"24\":\"No\",\"25\":\"None\",\"26\":\"1\",\"27\":\"370\",\"28\":\"18\",\"29\":\"NA\",\"30\":\"NA\",\"31\":\"NA\"}],\"options\":{\"columns\":{\"min\":{},\"max\":[10]},\"rows\":{\"min\":[10],\"max\":[10]},\"pages\":{}}}\n </script>\n</div>\n\n\n### Variable descriptions\n\n| Variable | Description |\n|----|-------------|\n| Name (caveats to the data) | Name of the product |\n| RTG $ | Price of the canned product |\n| Oil/Water Used | Whether the fish is canned with water, some kind of oil, or vinegar |\n| Type of Fish | The type of seafood used in the product (not necessarily a fish) |\n| Latin Name | Latin name (species) of the seafood |\n| Country Origin | The country of origin of the seafood |\n| Brand | The brand name of the canned seafood |\n| Has Salt | Whether the product contains salt |\n| Has Sugar | Whether the product contains sugar |\n| Sauces/Inclusions | The type of sauces or seasonings contained in the product |\n| Boneless | Whether the product is boneless (\"NA\" means the seafood does not contain bones at all, so there are none to remove; for instance, scallops do not have bones) |\n| Skinless | Whether the product is skinless (\"NA\" means the seafood does not have any skin/scales to remove, such as for mussels or squid) |\n| Pieces/Tin | The number of pieces contained per tin |\n| Tin Size (in grams unless otherwise noted) | Weight of the product in grams |\n| Tin Size (in oz unless otherwise noted) | Weight of the product in oz |\n| Smoked | Whether the product is smoked (including all methods of getting the flavor into the product) |\n| Grilled/Seared | Whether the product is grilled or seared |\n| Citrus | Whether the product contains citrus (everything from slices of fruit to lemon essence) |\n| Garlic | Whether the product contains garlic |\n| Chili Pepper | Whether the product contains chili peppers |\n| Tomato | Whether the product contains tomatoes |\n| Dairy | Whether the product contains dairy |\n| Gluten | Whether the product contains gluten |\n| Organic | Whether the product contains some amount of certified organic agricultural products |\n| Kosher Cert | Whether the product is Kosher certified |\n| Servings/Tin| The amount of servings per tin |\n| Sodium/Serv (mg) | The amount of sodium per serving |\n| % RDA Sodium | Percentage of recommended daily use of sodium, per serving |\n\n## Questions\n\n1. Since this is a manually entered dataset, to begin statistical analysis on\n this dataset, one needs to first perform some data cleaning. For example,\n most sodium amounts are numbers, but a few rows contain the string \"< 1g\". In\n other variables, missing values are given several different ways, such as by\n being left blank, \"?\", or \"NA\".\n\n Load the data and carefully review the types of all variables you'll need for\n your analysis. Write the necessary code to correct or filter unusual values.\n2. Conduct an exploratory data analysis. What is the distribution of prices?\n Prices per unit weight? Which countries of origin are most common?\n3. On average, how much more sodium does the salted tinned fish contain than\n unsalted fish?\n4. Use ANOVA to test whether the price (per unit weight) of tinned fish varies\n by country, controlling for the type of fish.\n5. Use logistic regression to explore the odds that the product contains added\n sugar. Which factors are most strongly associated with added sugar?\n\n\n## References\n\nData from:\n<https://rainbowtomatoesgarden.com/index.php/choosing-a-tin/>\n\nData downloaded August 8, 2023.\n",
"supporting": [],
"filters": [
"rmarkdown/pagebreak.lua"
],
"includes": {
"include-in-header": [
"<link href=\"../site_libs/pagedtable-1.1/css/pagedtable.css\" rel=\"stylesheet\" />\n<script src=\"../site_libs/pagedtable-1.1/js/pagedtable.js\"></script>\n"
]
},
"engineDependencies": {},
"preserve": {},
"postProcess": true
}
}
Loading

0 comments on commit 32a928c

Please sign in to comment.