Overview

The following data comes from the United States Department of Agriculture's Food Composition Database. It contains data for various types of food including the amounts of different vitamins and minerals found in the foods as well as macronutrient percentages. The food covered spans a large variety of foods from butter to Campbell's soup.

https://ndb.nal.usda.gov/

Downloads

Download all of the following files.

Usage

This library has 1 function you can use.
(require "food.rkt")
(get-reports false)
Additionally, some of the functions can optionally return Big Data using an extra argument. If you use this Big Data, it may be much slower. Wait until you are sure your code is correct before using these examples.
(require "food.rkt")
; These may be slow!
(get-reports true)

Documentation

 get-reports(test)

Returns food reports from the dataset.