Cigs#
In 2000, the Federal Trade Commission tested cigarettes to determine the amount of nicotine, tar and carbom monoxide in them. This data set also contains the other information that the FTC collected at that time.
From the authors: “This report contains data on the “tar,” nicotine, and carbon monoxide yields of 1294 varieties of cigarettes manufactured and sold in the United States in 1998.”
Initialization#
library(fosdata)
data <- fosdata::cigsAccessing fields#
data <- fosdata::cigs
flavor <- data$flavor # Just a random field in the datasetInteractive 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.
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::cigs dataset containing the following fields:
fields[9]{name,type,values}:
brand_name,factor,n/a
flavor,factor,n/a
co,numeric,n/a
nic,numeric,n/a
tar,numeric,n/a
size,factor,[Reg,100,King,120,80]
filter,factor,[F,NF]
pack,factor,[HP,SP]
menthol,factor,[no,yes]Fields#
| Name | Description | Type | Min | Max | Values |
|---|---|---|---|---|---|
brand_name |
Brand name of the cigarette | factor | - | - | - |
flavor |
Information about the cigarette that came after the brand name, such as Ultra or Select | factor | - | - | - |
co |
Carbon monoxide content, in mg, rounded to nearest mg | numeric | 0.5 | 22 | - |
nic |
Nicotine content, in mg, rounded to nearest .1 | numeric | 0.1 | 2 | - |
tar |
Amount of tar, in mg, rounded to nearest mg | numeric | 0.5 | 27 | - |
size |
Factor with levels 100, 120, 80, King and Reg | factor | - | - | Reg, 100, King, 120, 80 |
filter |
Factor with levels F = filtered, NF = no filter | factor | - | - | F, NF |
pack |
Factor with levels HP = hard pack, SP = soft pack | factor | - | - | HP, SP |
menthol |
Factor with levels no = not menthol, and yes = menthol. | factor | - | - | no, yes |
Source#
‘“Tar,” nicotine, and carbon monoxide of the smoke of 1294 varieties of domestic cigarettes for the year 1998. Federal Trade Commission report, 2000.’ https://www.ftc.gov/sites/default/files/documents/reports/2000-report-tar-nicotine-and-carbon-monoxide-covering-1998/1998tarnicotinereport_0.pdf