ifct2017--compositingcentres
/
2.0.12
ifct2017--compositingcentres 2.0.12
Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--compositingcentres@2.0.12
Install via package.json:
"@ifct2017/ifct2017--compositingcentres": "2.0.12"
About this version
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.