@ifct2017/regions
Version:
Categorization of the States/UTs into six different regions.
52 lines (40 loc) ⢠2 kB
Markdown
Categorization of the States/UTs into six different [regions].<br>
š¦ [Node.js](https://www.npmjs.com/package/@ifct2017/regions),
š [Files](https://unpkg.com/@ifct2017/regions/).
> This is part of package [ifct2017].<br>
> Online database: [ifct2017.github.io].
<br>
```javascript
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' } ]
```
```javascript
// Additional methods:
regions.load() // ā corpus
regions.sql([table], [options]) // ā sql statements
regions.csv() // ā path of csv file
```
<br>
<br>
[](http://ifct2017.com/)<br>
[](https://ifct2017.github.io)
[](https://zenodo.org/badge/latestdoi/132935982)
> 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].
[ ]: https://www.npmjs.com/package/ifct2017
[ ]: http://ifct2017.com/
[ ]: https://github.com/ifct2017/regions/blob/master/index.csv
[ ]: https://ifct2017.github.io
[ ]: https://www.nin.res.in/
[ ]: https://docs.google.com/spreadsheets/d/1a01-O3cex87z9My2hF3ByoUMVMLZtMYKuRFGTbmcIzQ/edit?usp=sharing
[ ]: https://docs.google.com/spreadsheets/d/e/2PACX-1vRXTC_URrQPaVbgG0tyMvJGkuaZgTjaQ9UZivesdtVBgpJXWHQldR9ps8C04HVDcZmEuKjCX2LhjUNA/pubhtml