Regional compositing centres and sample size of each region.


002.0.85 days ago4 years agoMinified + gzip package size for @ifct2017/compositingcentres in KB


Regional compositing centres and sample size of each region.

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

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

// [ { 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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.