JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q68194F
  • License MIT

Frequency distribution of States/UTs for fixing the number of districts to be sampled.

Package Exports

  • @ifct2017/frequencydistribution
  • @ifct2017/frequencydistribution/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ifct2017/frequencydistribution) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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



ORG DOI

Data was obtained from the book Indian Food Composition Tables 2017.
Food composition values were measured by National Institute of Nutrition, Hyderabad.