@ifct2017/samplingunits
TypeScript icon, indicating that this package has built-in type declarations

2.0.14 • Public • Published

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.

Package Sidebar

Install

npm i @ifct2017/samplingunits

Weekly Downloads

45

Version

2.0.14

License

MIT

Unpacked Size

10 kB

Total Files

7

Last publish

Collaborators

  • wolfram77