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

    2.0.4 • Public • Published

    Categorization of the States/UTs into six different regions.

    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


    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.

    Install

    npm i @ifct2017/regions

    DownloadsWeekly Downloads

    36

    Version

    2.0.4

    License

    MIT

    Unpacked Size

    7.66 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar