Skip to content

ifct2017/abbreviations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

cbd55e5 Β· Sep 17, 2022

History

46 Commits
Sep 16, 2022
Sep 17, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 17, 2022
Feb 23, 2020
Mar 7, 2021
Sep 16, 2022
Mar 7, 2021
Sep 17, 2022
Sep 17, 2022
Sep 16, 2022

Repository files navigation

Full forms of abbreviations used in the original book.
πŸ“¦ Node.js, πŸ“œ Files.

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


const abbreviations = require('@ifct2017/abbreviations');
// abbreviations(query)
// β†’ {abbr, full} if found, null otherwise.


abbreviations('GLV');
abbreviations('g l v');
// { abbr: 'GLV', full: 'Green Leafy Vegetables' }

abbreviations('what is D.R.I.');
abbreviations('d. r. i. stands for?');
// { abbr: 'DRI', full: 'Dietary reference intake' }


// Note:
// Full stops must immediately follow character, if present.
// For single character abbreviations, full stop is mandatory.
// Additional methods:
abbreviations.load() // β†’ corpus
abbreviations.sql([table], [options]) // β†’ sql statements
abbreviations.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.