Categorization of food by their common names.
npm install @ifct2017/groups[Categorization] of food by their common names.
š¦ Node.js,
š Files.
> This is part of package [ifct2017].
> Online database: [ifct2017.github.io].
``javascript
const groups = require('@ifct2017/groups');
// groups(query)
// ā matches [{code, group, entries, tags}]
groups('cereals');
groups('Millet');
// [ { code: 'A',
// group: 'Cereals and Millets',
// entries: 24,
// tags: 'vegetarian eggetarian fishetarian veg' } ]
groups('what is vegetable?');
groups('vegetable group code?');
// [ { code: 'D',
// group: 'Other Vegetables',
// entries: 78,
// tags: 'vegetarian eggetarian fishetarian veg' },
// { code: 'C',
// group: 'Green Leafy Vegetables',
// entries: 34,
// tags: 'vegetarian eggetarian fishetarian veg' } ]
`
`javascript``
// Additional methods:
groups.load() // ā corpus
groups.sql([table], [options]) // ā sql statements
groups.csv() // ā path of csv file



> Data was obtained from the book [Indian Food Composition Tables 2017].
> Food composition values were measured by [National Institute of Nutrition, Hyderabad].
> Take a peek at the raw data here: [Document], [Webpage].
[ifct2017]: https://www.npmjs.com/package/ifct2017
[Indian Food Composition Tables 2017]: http://ifct2017.com/
[Categorization]: https://github.com/ifct2017/groups/blob/master/index.csv
[ifct2017.github.io]: https://ifct2017.github.io
[National Institute of Nutrition, Hyderabad]: https://www.nin.res.in/
[Document]: https://docs.google.com/spreadsheets/d/1PMR0TZLLYsS70lcC0Bap4oNrI1azgmuGx9ekfHJB_0Q/edit?usp=sharing
[Webpage]: https://docs.google.com/spreadsheets/d/e/2PACX-1vSsXdKiSvWypa6aJlCfl_eKIzAOfESO_wHITJtPik3K1goIy81hciSjmTCqFjmFv1cqrLdnYhg1Q3O1/pubhtml