Skip to content

ifct2017/samplingunits

Repository files navigation

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



ORG DOI

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.