@ifct2017/methods
v2.0.11
Published
Analytical methods of nutrient and bioactive components.
Downloads
206
Maintainers
Readme
Analytical methods of nutrient and bioactive components. 📦 Node.js, 📜 Files.
This is part of package ifct2017. Online database: ifct2017.github.io.
const methods = require('@ifct2017/methods');
// methods(query)
// → {analyte, method, reference} if found, null otherwise
methods('soluble oxalic acid');
methods('Insoluble Oxalic Acid');
// { analyte: 'Oxalic acid (Total), Soluble oxalic acid, Insoluble oxalic acid',
// method: 'Fast- HPLC',
// reference: 'Moreau & Savage (2009)' }
methods('what is analytical method of saponin?');
methods('how is total saponin measured?');
// { analyte: 'Total Saponin',
// method: 'Colorimetry',
// reference: 'Dini et al. (2009)' }
// Additional methods:
methods.load() // → corpus
methods.sql([table], [options]) // → sql statements
methods.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.