The Minimum Information (about any) Food Composition (MIFC), data standard. MIFC provides a general-purpose schema for the description of Food Composition Tables and Databases (FCT/D). MIFC is intended to enumerate, standardize and validate (meta)/data relevant to FCT/D. MIFC is a Minimum Information Standard (MIS) for food composition data. MIS are sets of guidelines and data reporting formats that are used to standardize scientific data.
MIFC is an open-source project. MIFC development is led by the United States Department of Agriculture (USDA) FoodData Central (FDC), as well as the open source MIFC Standard Consortium. Contributors welcome! Please help us improve the content of MIFC by making issues and or submitting pull requests.
This working version of MIFC is a prototype and not an officially adopted USDA resource.
- examples/ - example data
- project/ - project files (do not edit these)
- src/ - source files (edit these)
- tests/ - Python tests
make all-all
: make everythingmake deploy
: deploys site
-
- Make sure you're up to date:
git pull
-
- Start or address an issue
Gets an issue number e.g. issue #28
-
- checkout a branch corresponding to that issue.
git checkout -b issue-28
-
- Make relevant changes
-
- Add/commit changes
git commit README.md -m 'Modify README file to include Usage and Pull Requests section'
-
- Push your branch to origin to create a pull request
For example the command would be something like git push origin issue-28. However you can just run git push
and it should prompt you with the line to run E.g git push --set-upstream origin issue-28
.
-
- Create Pull Request
On the Pull requests tab
Compare and Create Pull Request
-
- Switch from branch back to main:
git checkout main
-
- Activates a poetry shell from the
pyproject.toml
poetry shell
- Activates a poetry shell from the
-
- Keep poetry up to date
poetry update
- Keep poetry up to date
-
- Update poetry.lock file
poetry install
- Update poetry.lock file
-
- Run MIFC build and test suite
make all-all
- Run MIFC build and test suite
This project was made with linkml-project-cookiecutter.