Hot_dogs#

Calorie and sodium content of hot dogs of various types of meats.

From the web page: “Results of a laboratory analysis of calories and sodium content of major hot dog brands. Researchers for Consumer Reports analyzed three types of hot dog: beef, poultry, and meat (mostly pork and beef, but up to 15 % poultry meat).”

Initialization#

library(fosdata)
data <- fosdata::hot_dogs

Accessing fields#

data <- fosdata::hot_dogs
sodium <- data$sodium # Just a random field in the dataset

Interactive R Sample#

You can use the R editor below to interactively explore the dataset and generate plots. This contains a fully self-contained R environment with fosdata, ggplot2, and dplyr loaded.

webR + fosdata Test

Console
Plot

    
No plot generated yet.
scatterplot

LLM instructions#

If using an LLM, you can copy-paste the following instructions to accompany your prompt to inform the model of the fields and their types in the dataset.

LLM Instructions
The fosdata::hot_dogs dataset containing the following fields:

fields[3]{name,type,values}:
  type,factor,[Beef,Meat,Poultry]
  calories,integer,n/a
  sodium,integer,n/a

Fields#

Name Description Type Min Max Values
type Factor with levels Beef, Meat or Poultry factor - - Beef, Meat, Poultry
calories Number of calories in the hot dog (kC) integer 86 195 -
sodium Sodium content of the hot dog (mg) integer 144 645 -

Source#

Moore, David S., and George P. McCabe (1989). Introduction to the Practice of Statistics. Original source: Consumer Reports, June 1986, pp. 366-367. http://wiki.stat.ucla.edu/socr/index.php/SOCR_012708_ID_Data_HotDogs