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

    2.0.6 • Public • Published

    Regional compositing centres and sample size of each region.

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


    const compositingCentres = require('@ifct2017/compositingcentres');
    // compositingCentres(query)
    // → matches [{region, centre, samples}]
    
    
    compositingCentres('west');
    compositingCentres('Mumbai');
    // [ { region: 'West', centre: 'Mumbai', samples: 12 } ]
    
    compositingCentres('what is compositing centre of north east?');
    compositingCentres('North East compositing centre');
    // [ { region: 'North East', centre: 'Guwahati', samples: 11 } ]
    // Additional methods:
    compositingCentres.load() // → corpus
    compositingCentres.sql([table], [options]) // → sql statements
    compositingCentres.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/compositingcentres

    DownloadsWeekly Downloads

    37

    Version

    2.0.6

    License

    MIT

    Unpacked Size

    7.3 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar