Downloads
454
Last updated
Data file
1
Size
5.18 kB
Format
csv

candy-data

Candy Power Ranking

This folder contains the data behind the story The Ultimate Halloween Candy Power Ranking.

candy-data.csv includes attributes for each candy along with its ranking. For binary variables, 1 means yes, 0 means no.

The data contains the following fields:

HeaderDescription
chocolateDoes it contain chocolate?
fruityIs it fruit flavored?
caramelIs there caramel in the candy?
peanutalmondyDoes it contain peanuts, peanut butter or almonds?
nougatDoes it contain nougat?
crispedricewaferDoes it contain crisped rice, wafers, or a cookie component?
hardIs it a hard candy?
barIs it a candy bar?
pluribusIs it one of many candies in a bag or box?
sugarpercentThe percentile of sugar it falls under within the data set.
pricepercentThe unit price percentile compared to the rest of the set.
winpercentThe overall win percentage according to 269,000 matchups.

This dataset was scraped from FiveThirtyEight - candy-power-ranking

API access

Access dataset files directly from scripts, code, or AI agents.

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/fivethirtyeight/candy-power-ranking/3 files
  • README.mddocumentationhttps://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/README.md
  • data/candy-data.csvhttps://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/data/candy-data.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/fivethirtyeight/candy-power-ranking/_r/-/datapackage.json