Published September 17, 2022
| Version 2.0.5
Software
Open
ifct2017/regions: Categorization of the States/UTs into six different regions
Description
Categorization of the States/UTs into six different regions.<br> 📦 Node.js, 📜 Files.
This is part of package ifct2017.<br> Online database: ifct2017.github.io.
<br>
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
<br> <br>
Data was obtained from the book Indian Food Composition Tables 2017.<br> Food composition values were measured by National Institute of Nutrition, Hyderabad.<br> Take a peek at the raw data here: Document, Webpage.
Files
ifct2017/regions-2.0.5.zip
Files
(14.9 kB)
Name | Size | Download all |
---|---|---|
md5:bc3de69d0a0ab20f6a9c04faaa0f0789
|
14.9 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ifct2017/regions/tree/2.0.5 (URL)