JakeMakesGames's picture
Initial free sample upload
596808c verified
|
Raw History Blame Contribute Delete
5.71 kB
metadata
license: cc0-1.0
pretty_name: USDA Foods and Nutrients (free sample)
size_categories:
  - 10K<n<100K
language:
  - en
tags:
  - tabular
  - food
  - nutrition
  - usda
configs:
  - config_name: default
    data_files: sample.csv
  - config_name: nutrients_long
    data_files: sample_nutrients_long.csv
  - config_name: branded_ingredients
    data_files: sample_branded_ingredients.csv
  - config_name: food_portions
    data_files: sample_food_portions.csv
  - config_name: nutrient_dictionary
    data_files: nutrient_dictionary.csv
  - config_name: derivation_dictionary
    data_files: derivation_dictionary.csv

Foods × Nutrients (USDA FoodData Central) — free sample

A free sample of a cleaned, de-duplicated, documented snapshot of USDA FoodData Central: Foundation, SR Legacy, Survey (FNDDS), and Branded foods, with a wide nutrient table and a long nutrient table.

The sample is meant for exploration, tutorials, and prototyping. It is not a substitute for the complete packaged snapshot (457,017 foods and 7.09 million nutrient values).

Source release: FoodData Central full CSV download, release dated 29 October 2026; retrieved 24 November 2026 (UTC).

Sample size versus the full snapshot

Table This sample Full packaged snapshot (v1.0.0)
foods_wide (sample.csv) 2,000 457,017
nutrients_long 8,000 7,087,068
branded_ingredients 950 443,294
food_portions 2,237 36,682
nutrient_dictionary 270 (complete reference table) 270
derivation_dictionary 80 (complete reference table) 80

The 2,000-food slice is oversampled toward USDA reference and survey foods (350 Foundation, 350 SR Legacy, 350 Survey (FNDDS), and 950 Branded) so it is not almost entirely branded products. Ingredient and portion rows are only for those sampled food ids. The long nutrient table was capped at 8,000 rows (the 2,000 sampled foods have more nutrient values in the full package), so nutrient coverage in the sample is incomplete even for the sampled foods.

The two dictionary files are complete tiny reference tables, included so nutrient and derivation codes can be interpreted.

Columns (highlights)

  • foods_wide (99 columns): FoodData Central id, data type, description, cleaned category, publication date, brand and GTIN fields where applicable, amount basis (per 100 g, or per 100 ml for branded liquids), 39 key nutrients, validation flags, and per-serving values where a serving size exists.
  • nutrients_long (13 columns): one row per food × nutrient, with units, amount, amount basis, and derivation id.
  • branded_ingredients (3 columns): ingredient statement text for sampled branded foods.
  • food_portions (13 columns): portion measures and per-portion calories/macros for sampled foods that have portions.

Known limits

  • Branded foods carry only label nutrients (median 14 per product in the full snapshot), so most vitamins and minerals are sparse for branded items. A missing value is not zero.
  • Branded values are manufacturer- or aggregator-supplied, standardized by USDA from per-serving label values, and can be wrong or out of date.
  • SR Legacy is a frozen 2018 dataset (published in FoodData Central on 1 April 2019). Category systems differ by data type and are not harmonized.
  • Brand names, brand-owner names, product names, and other marks remain the trademarks of their respective owners. They appear only as factual product identifiers. No brand logos or product images are included.
  • Not for medical, clinical, or dietetic advice; allergen or food-safety decisions; or regulatory nutrition labeling. Always check the actual product label.

Full packaged dataset

This listing is a free sample, not the complete snapshot. The complete v1.0.0 package includes every food and nutrient value, full ingredient and portion tables, summaries, Parquet / CSV.gz / JSON Lines formats, a datasheet, methods (including excluded foods), checksums, and a buyer license.

The complete packaged snapshot is available from the JakeMakesGames storefront:

The paid package is sold under the JakeMakesGames Dataset Commercial License v1.0 (use and modify, including commercially; no redistribution of the package as a standalone dataset). The underlying FoodData Central data also remain freely available from USDA under CC0.

License

This sample is a modified, reformatted excerpt of USDA FoodData Central data, which USDA releases under CC0 1.0 Universal. The sample is likewise offered under CC0 1.0 so it is not offered under terms more restrictive than the source allows. USDA requests citation (see below). CC0 does not grant trademark rights.

This sample is not licensed under the JakeMakesGames Dataset Commercial License. That license applies only to the paid packaged snapshot linked below.

This compilation was cleaned, de-duplicated, restructured, validated, and enriched by JakeMakesGames. The data are modified and reformatted and are not official USDA products.

Attribution

U.S. Department of Agriculture, Agricultural Research Service. FoodData Central, 2026. https://fdc.nal.usda.gov.

Source release: FoodData Central full download, CSV format, release dated 2026-10-29 (https://fdc.nal.usda.gov/download-datasets/).

No endorsement

This sample and the packaged snapshot are not affiliated with, sponsored by, or endorsed by the U.S. Department of Agriculture or the Agricultural Research Service, or by any brand owner named in the data. Do not use their names or logos to suggest endorsement.