Giter VIP home page Giter VIP logo

indianfoodcomposition's Introduction

IndianFoodComposition

Indian Food Composition Table in Excel and Json format for public use

1_food_index_from_IFCT_as_csv.py reads the content from page # 539 to page #572 (INDEX) in the IFCT PDF file and stores them in a .csv file INPUT: IFCT.PDF OUTPUT: regionalNames.csv 2_group_food_regional_names_by_code.py processes the input file regionalNames.csv that was generated by the script 1_food_index_from_IFCT_as_csv.py and groups the regional food names by the food code INPUT: regionalNames.csv OUTPUT: regionalFoodNamesOrderedByCode.csv 3_convert_IFCT_csv_format_to_json.py processes the input .csv file IndianFoodCompositionTable_In_CSV_Format.csv that was generated manually by consolidating the .csv file available at https://github.com/ifct2017/compositions/tree/master/assets and converts it into JSON format INPUT: IndianFoodCompositionTable_In_CSV_Format.csv OUTPUT: IndianFoodCompositionTable_In_JSON_Format.json 4_append_food_regional_names_in_json finds the respective regional food names from the input file regionalFoodNamesOrderedByCode.csv (generated by 2_group_food_regional_names_by_code.py) and appends the additional details in the given IndianFoodCompositionTable_In_JSON_Format.json file (generated by the script 3_convert_IFCT_csv_format_to_json.py) INPUT: regionalFoodNamesOrderedByCode.csv & IndianFoodCompositionTable_In_JSON_Format.json OUTPUT: IndianFoodCompositionTable_In_JSON_Format_With_Sorted_RegionalNames.json

indianfoodcomposition's People

Contributors

nithyamani avatar

Stargazers

 avatar

Watchers

 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.