@ifct2017/compositingcentres
v2.0.14
Published
Regional compositing centres and sample size of each region.
Downloads
245
Maintainers
Readme
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
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.