Skip to content

ifct2017--regions 2.0.8

Install from the command line:
Learn more about npm packages
$ npm install @ifct2017/ifct2017--regions@2.0.8
Install via package.json:
"@ifct2017/ifct2017--regions": "2.0.8"

About this version

Categorization of the States/UTs into six different regions.
πŸ“¦ Node.js, πŸ“œ Files.

This is part of package ifct2017.
Online database: ifct2017.github.io.


const regions = require('@ifct2017/regions');
// regions(query)
// β†’ matches [{region, states}]


regions('central');
regions('Uttaranchal');
// [ { region: 'Central',
//     states: 'Chhattisgarh;Madhya Pradesh;Uttar Pradesh;Uttaranchal' } ]

regions('which region andhra pradesh belongs to?');
regions('details of south region');
// [ { region: 'South',
//     states: 'Andaman & Nicobar Islands;Andhra Pradesh;Karnataka;Kerala;Lakshadweep;Pondicherry;Telangana;Tamil Nadu' } ]
// Additional methods:
regions.load() // β†’ corpus
regions.sql([table], [options]) // β†’ sql statements
regions.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.

Details


Assets

  • ifct2017--regions-2.0.8.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0