ifct2017--frequencydistribution 2.0.15
Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--frequencydistribution@2.0.15
Install via package.json:
"@ifct2017/ifct2017--frequencydistribution": "2.0.15"
About this version
Frequency distribution of States/UTs for fixing the number of districts to be sampled.
π¦ Node.js,
π Files.
This is part of package ifct2017.
Online database: ifct2017.github.io.
const frequencyDistribution = require('@ifct2017/frequencydistribution');
// frequencyDistribution(districts)
// β {districts, states, selected, sampled} if found, null otherwise
frequencyDistribution(2);
frequencyDistribution(5);
// { districts: '1-5', states: 9, selected: 1, sampled: 9 }
frequencyDistribution(32);
frequencyDistribution(37);
// { districts: '31-40', states: 4, selected: 5, sampled: 20 }
// Additional methods:
frequencyDistribution.load() // β corpus
frequencyDistribution.sql([table], [options]) // β sql statements
frequencyDistribution.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.