Skip to content

ifct2017--jonesfactors 2.0.8

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

About this version

Jones factors for conversion of nitrogen to protein.
πŸ“¦ Node.js, πŸ“œ Files.

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


const jonesFactors = require('@ifct2017/jonesfactors');
// jonesFactors(query)
// β†’ matches [{food, factor}]


jonesFactors('maida');
jonesFactors('Refined wheat');
// [ { food: 'Refined wheat flour (Maida)', factor: '5.70' } ]

jonesFactors('what is jones factor of barley?');
jonesFactors('jones factor of oats');
// [ { food: 'Barley and its flour;Rye and its flour;Oats',
//     factor: '5.83' } ]
// Additional methods:
jonesFactors.load() // β†’ corpus
jonesFactors.sql([table], [options]) // β†’ sql statements
jonesFactors.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--jonesfactors-2.0.8.tgz

Download activity

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