Giter VIP home page Giter VIP logo

teolemon / dump-creator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wmentzel/dump-creator

0.0 2.0 0.0 38 KB

A small program which creates CSV files in the format the Calories Count Android app uses. For now the only source is the CSV database dump of the OpenFoodFacts project (openfoodfacts.org).

Home Page: http://randomlychosenbytes.com

License: GNU General Public License v3.0

Java 100.00%

dump-creator's Introduction

OpenFoodFactsDumpCreator

The next release of Calories Count, an Android app I have written to track your daily calories, will include subsets of the data provided by openfoodfacts.org

The database is, with only ~224 MB (all countries, all columns), so small right now, that it makes sense to download all foods for one country, which enables the app to function completely offline once the download is done.

A subset will only contain the foods available in the chosen country and will only have the columns that CC utilizes which makes it really small (kB).

Column names: foodName|brands|categories|calories_100g|fat_100g|carbs_100g|protein_100g|beverage|portions**

Example:
Coca Cola|Coca Cola||18|85.2|4.0|0.4|true|{"1 Bottle":500}**

This little Java programm will create this subset by parsing the complete CSV file provided by openfoodfacts.org, which contains nutritional information from all over the world. The filtered result will be saved as CSV file as well which can be imported in CC.

dump-creator's People

Contributors

wmentzel avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.