# Data cleaning and lip calculations Source: https://farmer-income-data-toolkit.org/conclusion/data-cleaning-and-lip-calculations Once the full sample has been collected, data cleaning and calculation can begin. An R script template called “**Step 1: Data cleaning and calculation**” is available for guiding you through the necessary steps to arrive at the LIP analysis. The visual below gives an overview of the different steps taken in this data cleaning and calculation script. **Living Income Price calculation**\ As seen in the overview above, the final part of the first R script is calculating the Living Income Price. Understandably, this is quite a crucial part of your calculations so let’s dive deeper into what that entails. The visual below provides an overview of the calculation. The Living Income Price is essentially the yearly cost, divided by the quantity of produced crop. Yearly cost includes three key components: **The Living Income Benchmark**, which is the cost of a decent but basic living standard for specific family size in a specific location. We adjust the benchmark to account for inflation and different family sizes. We also acknowledged that farmers might have multiple income sources, in which case the main crop should not be responsible for a 100% of the cost of living. This is why we multiply the benchmark by the diversification ratio, which is the proportion of income coming from the crop. Essentially, if a farmer earns 80% of their total income from coffee (diversification ratio = 0.8), then their income from coffee should be at least 80% of the Living Income benchmark. The other 20% should be earned from other sources the farmer has, such as livestock or the sale of other crops. **The total production cost**, which is essentially the combination of all expenses directly related to the production of the crop. This is not accounted for in the Living Income benchmark and therefore needs to be included as an additional component to ensure that farmers cover their costs. **The farm depreciation cost**, which is the total cost of establishing a farm divided over its expected lifespan to also account for initial farmer investments. This is a value, which you will have to decide on yourself as it varies from context to context. Work with your local partners to try and reach a reasonable value that corresponds to local conditions. In practice, if the cost of starting a coffee farm equals 1000 dollars and the farm can be productive for 30 years, then the farm depreciation cost is 1000/30 = **33.333.** ## **Data analysis and visualisation** After data cleaning and calculation of all necessary variables comes the analysis, which you will find in the second R script called “**Step 2: Analysis and input for slide-deck**”. The script and presentation follow the same structure and include these sections: | Section | Goal | Questions Answered | | :--------------------- | :---------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------ | | 1. Sample | Understanding the farmers in your sample | How many farmers in the sample are women/youth/certified? Where are your farmers located? | | 2. Income Sources | Assessing the role of the focus crop in farmer income | How much of farmer income comes from the crop? What other income sources do farmers have? What are other commonly grown crops? | | 3. Production Cost | Getting insights into what makes up production cost | What are the most common cost drivers for farmers? What is the total cost of production? What types of labour do farmers have expenses for? | | 4. Productivity | Comparing farmers based on production per acre | What is the median productivity per acre? How does this compare across different groups of farmers? | | 5. Living Income Price | Exploring the LIP for different farmer groups | How high is the Living Income Price? How does it compare to the price farmers currently receive? Does the Living Income Price differ between groups? | | 6. Interventions | Measuring impact of targeted interventions | By how much do interventions decrease the Living Income Price? | **Tip: Use ChatGPT**\ Are pieces of the R script not working? Are you struggling to tailor the code to your dataset where variable names are slightly different? Asking ChatGPT or another AI Chatbot can be very useful to help you arrive at a working code without needing a lot of expertise. **Final deliverable: Interactive slide deck**\ For sharing your analysis results, we recommend using Canva and Flourish. The combination of both platforms let you build an interactive slide deck, which means viewers can click on visual elements (for example, to switch currencies or drill down into specific breakdowns). Check out a live example of this interactive deck [here](https://www.canva.com/design/DAGrh9dXcSI/9cmn61SU7O_gt_YrRRNM0Q/view?utm_content=DAGrh9dXcSI\&utm_campaign=designshare\&utm_medium=link2\&utm_source=uniquelinks\&utlId=h445bc8c2d2). To get started, make a copy of our “[LIP Presentation guidance](https://www.canva.com/design/DAGqCK1v2pc/I-sNxjJdPmVnjUchRUHWNQ/view?utm_content=DAGqCK1v2pc\&utm_campaign=designshare\&utm_medium=link\&utm_source=publishsharelink\&mode=preview)” template. It contains editable example slides alongside step-by-step instructions for creating and customising your visualisations. ## **How to arrive at recommendations from the analysis results?** The data derived from the analysis can be used to develop targeted interventions to reduce or close the Living Income Gap. The interventions should be targeted to the specific context and there is no copy paste procedure here. The automatically generated heat-map at the end of the slide deck presents the scale of LIP reductions brought by different interventions. This is an option to ‘model’ the effect of specific interventions on the overall LIP. Additionally to this, coming to recommendations requires a ‘manual’ approach. This includes discussion with the several stakeholders in your project about the interpretation of the data and how to use this data to inform decision making around targeted interventions in your specific context. There are several ways to look at developing interventions. * ***Closing/reducing the LIP gap with price intervention:*** the difference between the median price and the median LIP provides an indication on the price intervention needed to close the living income gap. However, in many cases, the price gap is too big making it impossible to close the living income gap by price interventions alone * ***Closing/reducing the LIP gap with targeted interventions:*** the data provides other insights that can help define targeted interventions to further reduce the living income gap. The most common ones are: * ***Income diversification:*** In cases where farmers highly depend on the income coming from the main crop or where prices are relatively low it is worth investigating income diversifying activities that do not interfere with the (land used for) the main crop. Intercropping, off farm activities, livestock farming, agroforestry and carbon credit models are examples. * ***Reduction of labour/production costs:*** the data defines the most common drivers for production costs. This can be labour activities, inputs (seeds / fertilisers), materials, non-mechanic equipment. If high production costs are driving up the living income price gap it is worthwhile to investigate targeted interventions to reduce costs in the most common cost drivers. Common examples are seedling projects, good (regenerative) agricultural practices (training and/or fertiliser programmes). * ***Productivity:*** low yields are another common denominator of living income gaps. Increasing productivity very often reduces living income gaps if the interventions are well targeted and will receive a return on investment in the near future. Common examples here are farm management training, renovation of plants/trees, agroforestry system, soil management/soil fertility programmes. * ***Group disaggregation:*** As farmers are not one homogenous group with the same needs and problems, disaggregation based on their characteristics allows us to pinpoint specific needs / interventions. Furthermore, interventions can be targeted based on the disaggregations provided in the analysis (e.g. gender, age, region, certification status). ## **Sensemaking and data validation** Through organising local sensemaking sessions agency of data can be given back to the farmers that were part of the study. By validating findings with multiple stakeholders in the supply chains - first and foremost the farmers - accuracy, completeness and consistency of data can be checked, further enhancing data integrity and improving decision-making around targeting interventions. Two models have been tested: a **workshop format** (structured, with slides and interactive exercises), and a **focus group format** (smaller, more informal discussions). The first not only validates data but also helps participants build capacity around concepts such as Living Income and co-create solutions; while the latter allows for deeper conversation and insights within a more intimate group. Both served to return findings to farmers and other stakeholders, validate results and jointly explore implications for improving livelihoods. **1) Sensemaking workshop** Through a sensemaking workshop with a relevant sample of farmers, data can be validated and input for decision-making can be retrieved. When selecting the participants for the workshop, it is important to ensure each of the disaggregated groups researched (gender, age, certification status, region) are represented. A following agenda can be kept: * **Introduction of the project:** a clear description of the project, the stakeholders, the objectives of the research and the sensemaking workshop * **Introduction to the concept of Living Income:** to internalise the topic of Living Income a way of introducing it could be to ask participants to answer the following question: ‘what does a family need to have a decent life’? Followed by an internationally acknowledged definition of Living Income * **Interactive exercises:** the discussion around the topic can be followed by a Living Income small-group exercise in which each group receives a given monthly income for the main crop and a budget sheet. The exercise can be done as follows: * Cost of production exercise: The group calculates the cost of producing the main crop (e.g. labour, inputs, materials, non mechanic equipment) on a monthly basis. * Expense exercise: The group makes an overview of the monthly household expenses (food, energy, housing, school, healthcare, others) * Group discussion: * Which household expenses can be met * What expenses are prioritised * Which expenses had to be left out * What other sources of income are there, or which sources are needed * Why is it important to understand the gap between income and decent income * Bring back the discussion back to plenary and share learnings * **Baseline result presentation:** a selection of the slide deck can be shared during the workshop. Make sure to use local language, valuta, metrics etc. Invite participants to respond to the results and verify if the outcomes of the research resonates. * **Improving livelihoods:** follow the sharing of results with an interactive exercise (in smaller group) and organise discussions around the following questions: * What are the barriers preventing you from having a good life? * Can you prioritise the barriers or needs to improve livelihoods? * What solutions or interventions could remove these barriers? * What kind of support is needed? * What successful interventions are already being implemented? * **Reflexions and next steps:** conclude the session with summarising the main take outs of the workshop. Be clear on how the input will be used for future steps and / or setting up targeted interventions. **2) Sensemaking focus groups** When capacity and resources are short, this format will still enable rich, personal insights. Instead of a more formal workshop, the results of the research can be brought back in smaller (6-12 people), informal group discussions. The same agenda can be followed using printed material, allowing for validation of findings and gathering of insights in a more conversational way. [^1]: Smallholders are defined by the producers, as the definition of smallholder varies per country and crop. # Overview Source: https://farmer-income-data-toolkit.org/conclusion/overview **Links to tools:** * R scripts → in Github * [Slide deck manual](https://www.canva.com/design/DAGqCK1v2pc/I-sNxjJdPmVnjUchRUHWNQ/view?utm_content=DAGqCK1v2pc\&utm_campaign=designshare\&utm_medium=link\&utm_source=publishsharelink\&mode=preview) # Farmer Income Data Toolkit: A practical methodology to assess living income gaps Source: https://farmer-income-data-toolkit.org/introduction/farmer-income-data-toolkit The Farmer Income Data Toolkit is the operational backbone of the **Living Income Commodity Strategy**. This technical, open-source toolkit helps you design, collect, analyse, and interpret farmer income data to define a living income price, the income floor farmers need for resilient and sustainable businesses, and ultimately, entire supply chains. Developed by **Fairfood** and **Akvo**, this methodology is now fully available on GitHub, from survey design to analysis and recommendations, as well as case studies to inspire you while defining the outcomes of your project. We believe practical tools for fairer value distribution should be accessible to all, and this is a step towards more transparent, data-driven, and fair decision-making across value chains. This toolkit is one of the legacies of the RECLAIM Sustainability!, a five-year program implemented by Fairfood, Solidaridad, Business Watch Indonesia, and Trust Africa in strategic partnership with the Dutch Ministry of Foreign Affairs. Learn more about the programme [here](https://fairfood.org/en/case/reclaim-sustainability-programme/). # Introduction to the FID Source: https://farmer-income-data-toolkit.org/introduction/introduction-to-the-FID Across global agri-food supply chains, sustainability teams face growing pressure to move beyond ambition and demonstrate real impact: How are companies supporting equitable livelihoods in practice, not just in principle? New regulations such as the [EU Corporate Sustainability Due Diligence Directive (CSDDD)](https://commission.europa.eu/business-economy-euro/doing-business-eu/sustainability-due-diligence-responsible-business/corporate-sustainability-due-diligence_en) and the [EU Deforestation Regulation (EUDR)](https://environment.ec.europa.eu/topics/forests/deforestation/regulation-deforestation-free-products_en) are pushing businesses to take more responsibility for what happens at the start of their chains. This means finding concrete ways to support smallholder incomes, improve data quality, and strengthen long-term supply relationships. The **Farmer Income Data Toolkit** helps you do just that. Co-developed by **Fairfood** and **Akvo**, the toolkit is a core component of a **broader Living Income Commodity Strategy** jointly designed by **Fairfood, Akvo, and Heifer International**. This collaborative strategy aims to advance living income action in sectors where certification is limited and systemic inefficiencies persist. It equips supply chain actors with the evidence and approaches needed to make informed, fairer decisions. You can read more about the overarching strategy in the [**Living Income Commodity Strategy White Paper**.](https://fairfood.org/en/resources/heifer-and-fairfood-release-commodity-living-income-strategy-white-paper/) This technical toolkit is your starting point for putting this strategy in practice by measuring farmer income and identifying the minimum income required for a viable, resilient livelihood. The methodology underpinning the toolkit builds on the [Income Measurement Guidance](https://idh.org/resources/income-measurement-guidance) developed by Akvo and IDH, with additional adaptations to support the analytical requirements of the Living Income Commodity Strategy mentioned above. It provides a step-by-step approach to gathering and analysing robust data, so you can move from insight to action with clarity and intention. What sets this toolkit apart is its **segmentation-based approach**. Rather than treating smallholder communities as a single, uniform group, the toolkit enables you to uncover and explore key differences across farmer profiles. This added layer of analysis allows for **more nuanced and targeted interventions** that are grounded in real-world complexity, and tailored to performance, potential and context. The toolkit is the culmination of a five-year programme funded by the Dutch Ministry of Foreign Affairs. The programme focused on testing and developing models that promote **fairer value distribution** as a foundation for resilient, inclusive, and ultimately more sustainable supply chains. In response, this Toolkit offers an end-to-end approach: from identifying income gaps to segment farmer realities, and support evidence-based decision making across supply chains. ### **A data-led approach to living income action** At its core, our joint approach combines two complementary methodologies: 1. **Living Income Price (LIP).** Calculates a price floor that enables a decent standard of living for producers, whether at farmgate, cooperative, or Free-on-Board (FOB) level. By comparing current prices with a living income benchmark, it reveals how far the supply chain must move. 2. **Cost-Yield Efficiency (CYE).** Price alone rarely closes the gap, and that’s where the CYE assessment comes in. This analysis classifies farmers by both costs and yields, highlighting who is efficient, who is struggling, and why. This dual lens identifies where cost saving, productivity, or diversification measures might help - and where pricing interventions are really unavoidable. Used together, these tools allow companies and their partners to identify income gaps with precision, and to design realistic interventions that are grounded in local data and developed in collaboration with producers. **Put simply, this is a practical roadmap for informed decision making and more effective investment in agri-food supply chains.** Based on traceable, locally sourced data, the approach outlines the steps in identifying and costing solutions for more equitable value distribution, shifting the conversation from compliance to collaboration. Instead of asking producers to *report*, it enables them to understand and *use* their data. **This toolkit guides you through the first step** **of that journey.** It helps you calculate a fair and transparent price that supports a living income, and it also lays the groundwork for the next phase:developing practical, data-informed solutions through collective action with local stakeholders. Whether you work in a **corporate sustainability team**, a **producer organisation**, an **NGO**, or a **certification body**, this toolkit is designed to help turn living income ambitions into **actionable, fundable, and implementable strategies**. # Introduction to this toolkit Source: https://farmer-income-data-toolkit.org/introduction/introduction-to-this-toolkit ### Who this guide is for This guide is intended for organisations working in food supply chains, such as producer organisations, export organisation, NGOs, social enterprises, certification bodies, traders, or corporate sustainability teams, with the ambition of improving the living income of smallholder farmers. **It is particularly suited to users who are involved in impact measurement**, **value** **chain** **development**, or **price-setting initiatives**. ### What this guide is and what it is not This guidance document outlines the methodology and steps required to carry out a Living Income Price (LIP) analysis. It supports users in developing a final slide deck that visualises the key findings of such an analysis. For each step in the process, we provide practical tools (including Excel templates, R scripts, and best practice documents) to help implement the methodology effectively. This toolkit is the result of a collaboration between Fairfood and Akvo, who have developed this lean version of the LIP analysis-approach based on field experience and iteration. While the guide is highly detailed and comprehensive, it is not a fully automated tool. Users will need to manually complete various activities, make context-specific decisions, and adapt tools where necessary. From scoping to survey implementation, analysis, and reporting, a realistic timeline for carrying out the full LIP analysis is approximately two months. This guide is not meant to be a plug-and-play product or a black-box model - it is designed for users who want to understand and be actively involved in each step of the process. The expected output of using this guide is a visually engaging slide deck that presents the key results of the LIP analysis and farmer income assessments. Insights include: * a clear picture of farmer incomes, where they come from, and how they compare to the living income benchmark * a deep dive into production costs, yields, and productivity trends * focused disaggregations that spotlight different farmer groups and their unique realities * evidence on how four targeted interventions can boost farmer incomes * A price analysis revealing insights on the Living Income Price A dummy version of the final slide deck can be found through [this link](https://www.canva.com/design/DAGrh9dXcSI/2vv1AffYwVKIFCvsHiqzUQ/view?utm_content=DAGrh9dXcSI\&utm_campaign=designshare\&utm_medium=link2\&utm_source=uniquelinks\&utlId=hc9ee034d3c). ### Whats needed for a successful LIP analysis A successful LIP analysis depends on your ability to collect the required data. In some regions or value chains, farmers may not be used to tracking or reporting detailed cost and income information, which can affect the accuracy or completeness of your results. If you're not deeply familiar with the context, consider connecting with those who are. Local experts can help determine whether the necessary data can be collected and the correct approach to make farmers comfortable with the process. Local knowledge will always enhance the credibility and quality of the data. Lastly, it’s worth noting that the current version of the survey builder has been tailored for the following crops: banana, coffee, cocoa, spices, and shea. Other crops might need tailored questions to account for income correctly. ### Minimum skills required to use the toolkit To use this toolkit effectively, users should possess the following baseline skills: * **Survey and sample design**: Understanding how to frame relevant questions and select a representative sample of respondents is crucial. * **Familiarity with indicator frameworks**: Users should understand basic concepts like household income, production costs, and farm profitability. * **Basic R skills**: Data cleaning and analysis are performed using R scripts, so users should be able to run scripts, adjust parameters, and troubleshoot errors. * **Data analysis literacy**: Users should understand foundational statistical concepts such as averages, medians, and standard deviations. * **Excel proficiency**: The survey design tool is Excel-based and will be uploaded to KoboToolbox for data collection. * Optional but helpful: comfort using **Canva** and **Flourish** to create engaging visuals in the final slide deck. Note that this toolbox is modular. If certain steps fall outside yours or your team’ skillset , it’s always possible to outsource specific parts of the process. Both Akvo and Fairfood are available for support when needed. For technical support, data collection guidance, or help using the toolkit, contact: [info@akvo.org.](mailto:info@akvo.org) For insights on how to integrate this into your sustainability strategy or project design, contact: [info@fairfood.org](mailto:info@fairfood.org) ### Process Overview The Living Income Price (LIP) analysis follows a clear three-phase process: **Scoping and preparation**, **Data collection**, and **Analysis and recommendations**. Each phase includes key activities that build toward a robust and context-specific LIP outcome. During the **Scoping and preparation** phase, users define the goals, design the survey, and prepare for fieldwork. In the **Data collection** phase, enumerators are trained and fieldwork is conducted with ongoing data quality monitoring. Finally, the **Analysis and recommendations** phase involves cleaning and analysing the data, generating key insights, and visualising results in a final slide deck. This structured process ensures that the LIP analysis is both rigorous and practical, while remaining adaptable to different local contexts. #### Contact for Support This toolkit is designed to meet you where you are - whether you're just starting to measure income gaps or ready to co-create a pricing strategy with producers. Explore the tabs to get started, and remember: the process is modular, so you can go at your own pace, one step at a time. * For technical support, data collection guidance, or help using the toolkit, contact: [info@akvo.org](mailto:info@akvo.org) * For insights on how to integrate this into your sustainability strategy or project design, contact: [info@fairfood.org](mailto:info@fairfood.org) # Resource Library Source: https://farmer-income-data-toolkit.org/introduction/resource-library As you navigate through the Toolkit, you may have questions about shaping your vision, and exploring the possibilities when defining your living income project. This Resource Library brings together materials that explain key concepts, showcase use cases from different contexts, and highlight practical approaches tested in the field. Use them to inspire your project design, strengthen your rationale, and connect your interventions to proven strategies for achieving a living income. ## **White Paper:** The Living Income Commodity Strategy builds on existing methodologies from Fairtrade International (Living Income Reference Price), True Price, and GIZ, while extending their applicability to farmers who are not certified. Within the repository, it explains the rationale behind the methodology and positions it as a practical mechanism to ensure that value concentrated at one end of the supply chain trickles down to farmers through targeted investments, clearly defined gaps to be closed, and income impact that can be monitored and quantified. This approach is an essential step in refining pricing and living income interventions: moving towards more transparent pricing mechanisms and genuinely sustainable value chains. Access the document Access the FAQ ## **Webinar: Learn from early adopters** ### 1. **Demo: The Farmer Income Data Toolkit**