HACIT - Humanitarian Aid Cost Integration Tool is a tool made by Daniel & Rashmi, students from UC Berkeley, to help MercyCorps foundation to create a calculator. This tool will calculate transportation, baskets, and human resource to the total spending. We use APIs to get the current distance, price, and exchange rates to visualize.
The database of food that we use is based on internet scraping which we put in a google spreadsheet and connected through API. Please check this link to the database: https://docs.google.com/spreadsheets/d/1CYUSuWbTvcINtHsDWTLdaKF7Isv9wKcyG_yYm1Ar52I/edit#gid=0
To fully use this code, you need 4 API keys:
- GoogleMaps API
- Forex API
- Gas Price API
- GoogleSheet API
The input from the user are:
- Location of transit
- Emission per km (plane and truck)
- Plane and truck distance per liter
- Fuel price per liter
- Output Forex
- Aid Basket Ingredient
- Employee salary
The output:
- Map
- Total price
- Emission