ifct2017--samplingunits 2.0.12
Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--samplingunits@2.0.12
Install via package.json:
"@ifct2017/ifct2017--samplingunits": "2.0.12"
About this version
Number of primary sampling units in each State/UT.
π¦ Node.js,
π Files.
This is part of package ifct2017.
Online database: ifct2017.github.io.
const samplingUnits = require('@ifct2017/samplingunits');
// samplingUnits(query)
// β matches [{sno, state, districts, selected}]
samplingUnits('andaman');
samplingUnits('Nicobar');
// [ { sno: 'A',
// state: 'Andaman & Nicobar',
// districts: 3,
// selected: 1 } ]
samplingUnits('sampling units in orissa?');
samplingUnits('orissa\'s sampling units');
// [ { sno: '20', state: 'Orissa', districts: 30, selected: 4 } ]
// Additional methods:
samplingUnits.load() // β corpus
samplingUnits.sql([table], [options]) // β sql staments
samplingUnits.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.