Skip to content

ifct2017/compositingcentres

Repository files navigation

Regional compositing centres and sample size of each region.
📦 Node.js, 📜 Files.

This is part of package ifct2017.
Online database: ifct2017.github.io.


const compositingCentres = require('@ifct2017/compositingcentres');
// compositingCentres(query)
// → matches [{region, centre, samples}]


compositingCentres('west');
compositingCentres('Mumbai');
// [ { region: 'West', centre: 'Mumbai', samples: 12 } ]

compositingCentres('what is compositing centre of north east?');
compositingCentres('North East compositing centre');
// [ { region: 'North East', centre: 'Guwahati', samples: 11 } ]
// Additional methods:
compositingCentres.load() // → corpus
compositingCentres.sql([table], [options]) // → sql statements
compositingCentres.csv() // → path of csv file



ORG DOI

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.