####################### DATA ANALYSIS Component ####################### .. _updateAllDataKobo Overview: Function updateAllDataKobo =========================== .. js:autofunction:: updateAllDataKobo .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 5-10 :emphasize-lines: 2 :linenos: .. _updateDataHarmonizeDatabridge Overview: Function updateDataHarmonizeDatabridge ======================================== .. js:autofunction:: updateDataHarmonizeDatabridge .. figure:: images/dataanalysis/analysisdataall_1.png :width: 400px :align: center :alt: This is the image caption The block diagram of updateDataHarmonizeDatabridge function .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 20-30 :emphasize-lines: 4,6,8 :linenos: * Loop through BSurvey data, If partner survey schedules CREATEPARTNERDATA task .. figure:: images/dataanalysis/createpartner_task.png :width: 400px :align: center :alt: This is the image caption Example of CREATEPARTNERDATA task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 33-51 :linenos: * Loop through BSurvey data, If partner survey schedules CREATEANALYSISSHEET task .. figure:: images/dataanalysis/createanalysissheet_task.png :width: 400px :align: center :alt: This is the image caption Example of CREATEANALYSISSHEET task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 54-75 :linenos: * Loop through BSurvey data, schedules DATABRIDGE task .. figure:: images/dataanalysis/databridge_task.png :width: 400px :align: center :alt: This is the image caption Example of DATABRIDGE task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 78-105 :linenos: * Loop through BSurvey data, schedules EXTERNALDATABRIDGE task .. figure:: images/dataanalysis/externaldatabridge_task.png :width: 400px :align: center :alt: This is the image caption Example of EXTERNALDATABRIDGE task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 107-132 :linenos: .. _createUpdateAnalysisSheet Overview: Function createUpdateAnalysisSheet ================================== .. js:autofunction:: createUpdateAnalysisSheet * Analysis Folder on Google Drive .. figure:: images/dataanalysis/analysis_folder.png :width: 400px :align: center :alt: This is the image caption Example of Analysis Folder on Google Drive .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 147-214 :linenos: * Adding a Parametor sheet .. figure:: images/dataanalysis/parametor_sheet.png :width: 400px :align: center :alt: This is the image caption Screenshot of Parametor sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 217-226 :linenos: * Generating a template .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 229-265 :linenos: * PPG sheet .. figure:: images/dataanalysis/ppg_sheet.png :width: 200px :align: center :alt: This is the image caption Screenshot of PPG sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 267-328 :emphasize-lines: 2 :linenos: * Schedule a SAMPLEPROFILE Task .. figure:: images/dataanalysis/sampleprofile_task.png :width: 400px :align: center :alt: This is the image caption Example of SAMPLEPROFILE Task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 330 - 353 :emphasize-lines: 13, 17,19 :linenos: .. _recalculateTopBottomThresholds Overview: Function recalculateTopBottomThresholds ======================================== .. js:autofunction:: recalculateTopBottomThresholds .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 359-380 :emphasize-lines: 5,7 :linenos: .. _checkAnalysisNote Overview: Function checkAnalysisNote =============================== .. js:autofunction:: checkAnalysisNote .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 387-391 :emphasize-lines: 3 :linenos: * :ref:`calculateCleaningProgress function()` .. _extractAnalysisNote Overview: Function extractAnalysisNote ================================== .. js:autofunction:: extractAnalysisNote * Locate the file in the folder, and if it does not exist create new one. Set the idx address (datasheet id) so that the code in different functions can work on the correct DataSheet through global variables. .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 407-431 :emphasize-lines: 11,13,15,21,25 :linenos: * Schedule CREATEANALYSISHEET or ANALYSISNOTEEXTRACT Task .. figure:: images/dataanalysis/createanalysissheet_extract_task.png :width: 500px :align: center :alt: This is the image caption Example of CREATEANALYSISHEET or ANALYSISNOTEEXTRACT Task .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 433-446 :emphasize-lines: 8,11 :linenos: * Add **Fllter** sheet in Beneficiary data sheet [ALLFILESYear >COUNTRY_ANALYSISYEAR>Year Country Analysis Livelihoods Beneficiary Survey] .. figure:: images/dataanalysis/analysisnoteextract_filter_sheet.png :width: 500px :align: center :alt: This is the image caption Example of Filter sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 449-492 :linenos: * Read Partner Survey Data .. figure:: images/dataanalysis/partner_data.png :width: 400px :align: center :alt: This is the image caption Screenshot of Partner data .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 495-501 :linenos: * **ExchangeRate** sheet in Partner data [ALLFILESYear >COUNTRY_ANALYSISYEAR>Year Partner Data] .. figure:: images/dataanalysis/exchange_rate_sheet.png :width: 400px :align: center :alt: This is the image caption Screenshot of ExchangeRate data .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 502-544 :linenos: * :ref:`Generate2 ` .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 546 :linenos: * Country Analysis File .. figure:: images/dataanalysis/country_analysis_file.png :width: 400px :align: center :alt: This is the image caption Example of Country Analysis File .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 546-672 :linenos: * :ref:`updateOnCustomisation() ` .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 674 :linenos: * :ref:`EMAILNOTICE() ` .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 676-689 :linenos: General Variables ================= .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 691-702 :linenos: DataLoad Variables ================== .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 707-714 :linenos: .. _loadDataTemplate Overview: Function loadDataTemplate ========================== .. js:autofunction:: loadDataTemplate .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 718-729 :emphasize-lines: 2 :linenos: .. _fetchSurvey Overview: Function fetchSurvey ================================= .. js:autofunction:: fetchSurvey .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 735-741 :emphasize-lines: 4 :linenos: .. _fetchTemplate Overview: Function fetchTemplate ================================= .. js:autofunction:: fetchTemplate .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 746-752 :emphasize-lines: 4 :linenos: .. _convertSheet2Json Overview: Function convertSheet2Json ================================= .. warning:: it's recommended that the function be renamed .. js:autofunction:: convertSheet2Json .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 758-775 :emphasize-lines: 2,17 :linenos: .. _getAllData Overview: Function getAllData ================================= .. js:autofunction:: getAllData .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 783-824 :linenos: * UNIT sheet .. figure:: images/dataanalysis/unit_sheet.png :width: 400px :align: center :alt: This is the image caption Screenshot of UNIT sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 826-957 :linenos: .. _syncroLHsHarmonization Overview: Function syncroLHsHarmonization ==================================== .. js:autofunction:: syncroLHsHarmonization .. figure:: images/dataanalysis/syncro.png :width: 400px :align: center :alt: This is the image caption The block-diagram of syncroLHsHarmonization function .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 969-1299 :emphasize-lines: 2 :linenos: .. _harmoniseData Overview: Function harmoniseData ================================= .. js:autofunction:: harmoniseData .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1308 - 1616 :linenos: .. _datafilter Overview: Function datafilter ================================= .. warning:: it's recommended that the function be renamed .. js:autofunction:: datafilter .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1622 - 1637 :linenos: .. _calculateOutlier Overview: Function calculateOutlier ================================= .. js:autofunction:: calculateOutlier * OUTLIERR sheet .. figure:: images/dataanalysis/outlierr.png :width: 400px :align: center :alt: This is the image caption Screenshot of OUTLIERR sheet * OUTLIERV sheet .. figure:: images/dataanalysis/outlierv.png :width: 400px :align: center :alt: This is the image caption Screenshot of OUTLIERV sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1644 - 1758 :linenos: .. _convertDataOutliervToJson Overview: Function convertDataOutliervToJson ==================================== .. js:autofunction:: convertDataOutliervToJson .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1837-1859 :linenos: .. _extractCountryAnalysisNote Overview: Function extractCountryAnalysisNote ==================================== .. js:autofunction:: extractCountryAnalysisNote * Resetting GLobal Variables .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1867 - 1982 :linenos: * Generating and displaying data on Country Analysis note .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 1985 - 1998 :emphasize-lines: 2,4,6,8,10,12 :linenos: .. _IndicatorYN Overview: Function IndicatorYN ================================= .. warning:: it's recommended that the function be renamed .. js:autofunction:: IndicatorYN .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2030 - 2046 :linenos: .. _generateLabelUnderTable Overview: Function generateLabelUnderTable ================================= .. js:autofunction:: generateLabelUnderTable .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 2053-2062 .. _displayDataIndicators123 Overview: Function displayDataIndicators123 ================================= .. js:autofunction:: displayDataIndicators123 .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 2073-2080 * Context sheet [Beneficiary survey] .. figure:: images/dataanalysis/context_sheet.png :width: 400px :align: center :alt: This is the image caption Screenshot of Context sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 2391-2392 * BG sheet [Beneficiary survey] .. figure:: images/dataanalysis/bg_sheet.png :width: 400px :align: center :alt: This is the image caption Screenshot of BG sheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2082-2112 :linenos: * Title of Country Analysis Note .. figure:: images/dataanalysis/header2_header.png :width: 400px :align: center :alt: This is the image caption Screenshot of Country Analysis Note .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2115 - 2204 :linenos: * 1. LIVELIHOODS PROGRAMME AND MONITORING SCOPE on country abalysis note and Problem statemenet .. figure:: images/dataanalysis/header2_problem_statemenet.png :width: 400px :align: center :alt: This is the image caption Screenshot of header .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2206 - 2240 :linenos: * Context .. figure:: images/dataanalysis/header2_context.png :width: 400px :align: center :alt: This is the image caption Screenshot of header .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2241 - 2435 :linenos: * 2. PROFILE OF SAMPLE BENEFICIARIES AT BASELINE/ENDLINE .. figure:: images/dataanalysis/header2_2.png :width: 400px :align: center :alt: This is the image caption Screenshot of header .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2436 - 2541 :emphasize-lines: 3,16,28,32,36,40,45,51,55,59,63, 68 :linenos: * 3. SAMPLE SIZE PER OUTPUT .. figure:: images/dataanalysis/header2_3.png :width: 400px :align: center :alt: This is the image caption Screenshot of header .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2544 - 2557 :emphasize-lines: 1,8,10,13 :linenos: ***OUTPUT1** .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2565 - 2571 :emphasize-lines: 1,3,5,7 :linenos: .. _displayDataIndicators4Otput1 Overview: Function displayDataIndicators4Otput1 ================================================== .. js:autofunction:: displayDataIndicators4Otput1 *4. OUTPUT 1: ACCESS TO AGRICULTURE PRODUCTION ENHANCED* .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2591 - 2639 :emphasize-lines: 1,8,10,13 :linenos: * Table: Sample beneficiaries per agricultural sub-sectors and narrative .. figure:: images/dataanalysis/indicators21_4_table301_nar_301.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2643 - 2651 :emphasize-lines: 3 :linenos: * Table: Interventions provided to sample beneficiaries by type .. figure:: images/dataanalysis/indicators21_4_table302.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2653 - 2660 :linenos: :emphasize-lines: 3 * Average cost of productive assets received per beneficiary (Crop production) per year .. figure:: images/dataanalysis/indicators21_4_average1.png :width: 400px :align: center :alt: This is the image caption Screenshot of Average cost of productive assets received per beneficiary .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2665 - 2682 :emphasize-lines: 12 :linenos: * Average cost of productive assets received per beneficiary (Livestock) per year .. figure:: images/dataanalysis/indicators21_4_average2.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2684 - 2712 :emphasize-lines: 9 :linenos: * Average value of cash grants per beneficiary per year for agricultural production .. figure:: images/dataanalysis/indicators21_4_average3.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2714 - 2728 :emphasize-lines: 8 :linenos: * Average value of support to protect agricultural productive assets per beneficiary per year .. figure:: images/dataanalysis/indicators21_4_average4.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2730 - 2756 :emphasize-lines: 7 :linenos: * 4.1 AGRICULTURAL EMPLOYMENT .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3048-3058 :linenos: * 4.1 AGRICULTURAL EMPLOYMENT > **Narrative** .. figure:: images/dataanalysis/indicators21_4.1_narrative310_1.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2759 - 2776 :emphasize-lines: 2 :linenos: * 4.1 AGRICULTURAL EMPLOYMENT > **Core Indicators** .. figure:: images/dataanalysis/indicators21_4.1_core_indicators_table.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2779 - 2860 :emphasize-lines: 1,10,13,22,31,40,51,67 :linenos: * 4.2 AGRICULTURAL PRODUCTIVITY .. figure:: images/dataanalysis/indicators21_4.2.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2863 - 2881 :emphasize-lines: 14 :linenos: * 4.2 AGRICULTURAL PRODUCTIVITY > **Core indicators** .. figure:: images/dataanalysis/indicators21_4.2_core_indicators.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2884 - 2917 :linenos: * 4.2 AGRICULTURAL PRODUCTIVITY > **Table : Land productivity (yield in kg/hectare) per self-employed beneficiaries (last season)** .. figure:: images/dataanalysis/indicators21_4.2_table321.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 2921 - 3012 :emphasize-lines: 5,16,35,66 :linenos: * 4.2 AGRICULTURAL PRODUCTIVITY > **Narrative** .. figure:: images/dataanalysis/indicators21_4.2_narrative_320.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3015 - 3129 :emphasize-lines: 23 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3132 - 3148 :emphasize-lines: 3 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE > **Core indicators** .. figure:: images/dataanalysis/indicators21_4.3_core_indicators.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3151 -3212 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE > **Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) income compared to previous season** .. figure:: images/dataanalysis/indicators21_4.3_table331.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3216 - 3231 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE > **Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) income compared to previous year** .. figure:: images/dataanalysis/indicators21_4.3_table332.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3233 - 3247 :emphasize-lines: 4,14 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE > **Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) income compared to previous year** .. figure:: images/dataanalysis/indicators21_4.3_table333.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3249 - 3267 :linenos: * 4.3 INCOME/SAVING GAINED FROM AGRICULTURE > **Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) savings compared to previous year** .. figure:: images/dataanalysis/indicators21_4.3_table334.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3271 - 3299 :linenos: .. _displayLabelIndicator4Ouput1 Overview: Function displayLabelIndicator4Ouput1 ================================================= .. js:autofunction:: displayLabelIndicator4Ouput1 .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3324 - 3329 :linenos: .. _formatTableHeader Overview: Function formatTableHeader ================================= .. js:autofunction:: formatTableHeader .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3334 - 3339 :linenos: .. _displayDataIndicator5Output2 Overview: Function displayDataIndicator5Output2 ====================================== .. js:autofunction:: displayDataIndicator5Output2 * OUTPUT2 >5. OUTPUT 2: ACCESS TO SELF-EMPLOYMENT FACILITATED .. figure:: images/dataanalysis/indicators22_5.2_main.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3345 - 3400 :emphasize-lines: 2 :linenos: * 5. OUTPUT 2: ACCESS TO SELF-EMPLOYMENT FACILITATED >Intervention .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3403 - 3418 * 5. OUTPUT 2: ACCESS TO SELF-EMPLOYMENT FACILITATED > **Table Interventions provided to sample beneficiaries by type** .. figure:: images/dataanalysis/indicators22_5.1_table44_narrative301b.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3403 - 3413 :emphasize-lines: 2,5 *5. OUTPUT 2: ACCESS TO SELF-EMPLOYMENT FACILITATED > **1) Average cost of productive assets (to start/improve a business) received per beneficiary per year; 2) Average value of cash grants (to start/improve a business) received per beneficiary per year** .. figure:: images/dataanalysis/indicators22_5_average.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3417 - 3464 :emphasize-lines: 13,28 :linenos: * 5.1 SELF EMPLOYMENT .. figure:: images/dataanalysis/indicators22_5.1_total.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3468 - 3488 :emphasize-lines: 11,13,14,16,18,21 * 5.1 SELF EMPLOYMENT >Core indicators .. figure:: images/dataanalysis/indicators22_5.1_core_indicators.png :width: 400px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3493 - 3545 :emphasize-lines: 10,13,23,37 * 5.1 SELF EMPLOYMENT > **Table:% of forcibly displaced targeted who are self-employed** .. figure:: images/dataanalysis/indicators22_5.1_table411.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3547 - 3551 :linenos: * 5.1 SELF EMPLOYMENT > **Table:% of forcibly displaced targeted who are self-employed in the formal/informal sector** .. figure:: images/dataanalysis/indicators22_5.1_table412.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3553 - 3557 :linenos: :emphasize-lines: 3 * 5.1 SELF EMPLOYMENT > **Table % of forcibly displaced targeted with own business / self-employed for (6/12) months or more** .. figure:: images/dataanalysis/indicators22_5.1_table414.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3559 - 3561 :emphasize-lines: 3 * 5.1 SELF EMPLOYMENT > **Table: Number of others employed by self-employed beneficiaries** .. figure:: images/dataanalysis/indicators22_5.1_table413.png :width: 400px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3563 - 3565 :emphasize-lines: 3 * 5.2 INCOME/SAVING GAINED FROM SELF-EMPLOYMENT .. figure:: images/dataanalysis/indicators22_5.2_main.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3569 - 3612 :emphasize-lines: 3,11,34 * 5.2 INCOME/SAVING GAINED FROM SELF-EMPLOYMENT >**Table: % of forcibly displaced targested who self-report (decreased/maintained/increased) income compared to previous year** .. figure:: images/dataanalysis/indicators22_5.2_table421.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3614 - 3618 :emphasize-lines: 3,5 * 5.2 INCOME/SAVING GAINED FROM SELF-EMPLOYMENT >**Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) savings compared to previous year** .. figure:: images/dataanalysis/indicators22_5.2_table422.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3621 - 3641 :emphasize-lines: 7,8,13,14 .. _displayDataIndicator6Output3 Overview: Function displayDataIndicator6Output3 ======================================== .. js:autofunction:: displayDataIndicator6Output3 * OUTPUT2 > 6. OUTPUT 3: ACCESS TO WAGE-EMPLOYMENT .. figure:: images/dataanalysis/indicators23_6_main.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3648 - 3659 :emphasize-lines: 1 * OUTPUT2 >6. OUTPUT 3: ACCESS TO WAGE-EMPLOYMENT > **Tables** .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3661 - 3767 :emphasize-lines: 2,4,6,8,10,12,14 * 6.1 WAGE-EMPLOYMENT .. figure:: images/dataanalysis/indicators23_6.1_main.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3771 - 3792 :emphasize-lines: 3 * 6.1 WAGE-EMPLOYMENT >Core Indicators .. figure:: images/dataanalysis/indicators23_6.1_indicators.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3794 - 3850 :emphasize-lines: 2 * 6.1 WAGE-EMPLOYMENT > Tables .. figure:: images/dataanalysis/indicators23_6.1_tables.png :width: 300px :align: center :alt: This is the image caption Screenshot of tables .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :lines: 3852 - 3864 :emphasize-lines: 3,6,9,12 :linenos: * 6.2 INCOME/SAVING CHANGE GAINED FROM WAGE-EMPLOYMENT .. figure:: images/dataanalysis/indicators23_6.2_main.png :width: 300px :align: center :alt: This is the image caption Screenshot of indicator .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3867 - 3914 :emphasize-lines: 2 * 6.2 INCOME/SAVING CHANGE GAINED FROM WAGE-EMPLOYMENT > **Table: % of forcibly displaced targeted who self-report (decreased/maintained/increased) income compared to previous year** .. figure:: images/dataanalysis/indicators23_6.2_table521.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3914 - 3921 :emphasize-lines: 3 * 6.2 INCOME/SAVING CHANGE GAINED FROM WAGE-EMPLOYMENT > **Table : % of forcibly displaced targeted who self-report (decreased/maintained/increased) savings compared to previous year** .. figure:: images/dataanalysis/indicators23_6.2_table522.png :width: 300px :align: center :alt: This is the image caption Screenshot of table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 3923 - 3933 :emphasize-lines: 2 Function displayNarrativeIndicator4Output3 =========================================== .. js:autofunction:: displayNarrativeIndicator4Output3 .. figure:: images/dataanalysis/narratives/4.3_income_narrative331a.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4010 - 4013 :emphasize-lines: 2 Function displayNarrativeIndicator41Agriculture ================================================ .. js:autofunction:: displayNarrativeIndicator41Agriculture .. figure:: images/dataanalysis/narratives/4.1_ag_em_narrative311.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4021 - 4112 :emphasize-lines: 1 Function displayNarrativeIndicator41a ====================================== .. js:autofunction:: displayNarrativeIndicator41a .. figure:: images/dataanalysis/narratives/4.1_ag_em_narrative310.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4120 - 4328 :emphasize-lines: 1 Function displayNarrativeIndicator42Farming ============================================ .. js:autofunction:: displayNarrativeIndicator42Farming .. figure:: images/dataanalysis/narratives/4.2_ag_pr_narrative320.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4337 - 4490 :emphasize-lines: 2 Function displayNarrativeIndicator42Livestock =============================================== .. js:autofunction:: displayNarrativeIndicator42Livestock .. figure:: images/dataanalysis/narratives/4.2_ag_pr_narrative320l.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4498 - 4619 :emphasize-lines: 2 Function displayNarrativeIndicator43Income ========================================== .. js:autofunction:: displayNarrativeIndicator43Income .. figure:: images/dataanalysis/narratives/4.3_income_narrative331.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4628 - 4709 :emphasize-lines: 2 Function displayNarrativeIndicator43Saving =========================================== .. js:autofunction:: displayNarrativeIndicator43Saving .. figure:: images/dataanalysis/narratives/4.3_income_narrative331b.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4718 - 4800 :emphasize-lines: 1 Function displayNarrativeIndicator51Employment =============================================== .. js:autofunction:: displayNarrativeIndicator51Employment .. figure:: images/dataanalysis/narratives/5.1_self_em_narrative411.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 4809 - 5040 :emphasize-lines: 1 Function displayNarrativeIndicator52Income ============================================== .. js:autofunction:: displayNarrativeIndicator52Income .. figure:: images/dataanalysis/narratives/5.2_income_narrative11.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5049 - 5080 :emphasize-lines: 1 Function displayNarrativeIndicator52Saving ================================================ .. js:autofunction:: displayNarrativeIndicator52Saving .. figure:: images/dataanalysis/narratives/5.2_income_narrative11b.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5090 - 5120 :emphasize-lines: 1 Function displayNarrativeIndicator61WageEmpl ============================================ .. js:autofunction:: displayNarrativeIndicator61WageEmpl .. figure:: images/dataanalysis/narratives/6.1_wage_narrative511.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5130 - 5309 :emphasize-lines: 1 Function displayNarrativeIndicator3 =================================== .. js:autofunction:: displayNarrativeIndicator3 .. figure:: images/dataanalysis/narratives/6.1_wage_narrative511.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5318 - 5327 :emphasize-lines: 1 Function displayNarrativeIndicator4OutputTable1 ======================================================== .. js:autofunction:: displayNarrativeIndicator4OutputTable1 .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5336 - 5345 :emphasize-lines: 1 Function displayNarrativeIndicator4OutputTable2 ================================================ .. js:autofunction:: displayNarrativeIndicator4OutputTable2 .. figure:: images/dataanalysis/narratives/4.1_ag_em_narrative301.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5354 - 5442 :emphasize-lines: 1 .. _displayNarrativeIndicator56Interventions Overview: Function displayNarrativeIndicator56Interventions ================================================= .. js:autofunction:: displayNarrativeIndicator56Interventions .. figure:: images/dataanalysis/narratives/5.2_access_narrative301b.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5451 - 5455 :emphasize-lines: 1 .. _sortTable Overview: Function sortTable ================================= .. js:autofunction:: sortTable .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5462 - 5478 :emphasize-lines: 1 .. _displayNarrative3SampleSize Overview: Function displayNarrative3SampleSize ===================================== .. js:autofunction:: displayNarrative3SampleSize .. figure:: images/dataanalysis/narratives/3_narrative21.png :width: 500px :align: center :alt: This is the image caption Screenshot of narrative .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5486 - 5509 :emphasize-lines: 1 .. _mergeText Overview: Function mergeText ================================= .. js:autofunction:: mergeText .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5519 - 5529 :emphasize-lines: 1 .. _mergeText2 Overview: Function mergeText2 ================================= .. js:autofunction:: mergeText2 .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5841 - 5852 :emphasize-lines: 1 .. _convertNumberToText Overview: Function convertNumberToText ================================= .. js:autofunction:: convertNumberToText .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5557 - 5587 :emphasize-lines: 1 .. _countTotalNumIndicator2Dependency Overview: Function countTotalNumIndicator2Dependency =========================================== .. js:autofunction:: countTotalNumIndicator2Dependency .. figure:: images/dataanalysis/countd.png :width: 500px :align: center :alt: This is the image caption Screenshot of % with Dependency Ratio >2.0 .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5600 - 5613 :emphasize-lines: 1 Function countTotalNumCategoryIndicator2Agr ================================================= .. js:autofunction:: countTotalNumCategoryIndicator2Agr .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5624 - 5662 :emphasize-lines: 1 .. _countTotalNumAgeGroup Overview: Function countTotalNumAgeGroup ================================= .. js:autofunction:: countTotalNumAgeGroup .. figure:: images/dataanalysis/countage.png :width: 500px :align: center :alt: This is the image caption Screenshot .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5637 - 5686 :emphasize-lines: 1 Function countNumBenefIndicator ================================= .. js:autofunction:: countNumBenefIndicator .. figure:: images/dataanalysis/count5.png :width: 500px :align: center :alt: This is the image caption Screenshot .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5699 - 5743 :emphasize-lines: 1 Function countNumItemsIndicator42Agr ==================================== .. js:autofunction:: countNumItemsIndicator42Agr .. figure:: images/dataanalysis/count2.png :width: 500px :align: center :alt: This is the image caption Screenshot .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5754 - 5771 :emphasize-lines: 1 Function countNumItemsPartnerData ================================= .. js:autofunction:: countNumItemsPartnerData .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5780 - 5790 :emphasize-lines: 1 Function countNumAnimalsIndicator4 =================================== .. js:autofunction:: countNumAnimalsIndicator4 .. figure:: images/dataanalysis/count4.png :width: 500px :align: center :alt: This is the image caption Screenshot .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5805 - 5823 :emphasize-lines: 1 .. _initialFilter Overview: Function initialFilter ================================= .. js:autofunction:: initialFilter .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5841 - 5848 :emphasize-lines: 1 .. _filterpage Overview: Function filterpage ================================= .. js:autofunction:: filterpage .. figure:: images/dataanalysis/filterpage.png :width: 500px :align: center :alt: This is the image caption Screenshot of filter page .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5853 - 5899 :emphasize-lines: 1 .. _filterBenefAge Overview: Function filterBenefAge ================================= .. js:autofunction:: filterBenefAge .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5905 - 5967 :emphasize-lines: 1 Function BackGround ================================= .. js:autofunction:: BackGround .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 5972 - 6149 :emphasize-lines: 1 .. _filterMain Overview: Function filterMain ================================= .. js:autofunction:: filterMain .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6168 - 6186 :emphasize-lines: 1 .. _filterInitial Overview: Function filterInitial ================================= .. js:autofunction:: filterInitial .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6192 - 6249 :emphasize-lines: 1 Function generateTableIndicator41AgrEmpl ======================================== .. js:autofunction:: generateTableIndicator41AgrEmpl .. figure:: images/dataanalysis/TablePercent.png :width: 500px :align: center :alt: This is the image caption Screenshot of Table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6285 - 6343 :emphasize-lines: 1 Function generateTableIndicator42AgrProduc =========================================== .. js:autofunction:: generateTableIndicator42AgrProduc .. figure:: images/dataanalysis/TableCountAGRI.png :width: 500px :align: center :alt: This is the image caption Screenshot of Table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6366 - 6517 :emphasize-lines: 1 Function generateTableIndicator42AgrProducAnimal ================================================= .. js:autofunction:: generateTableIndicator42AgrProducAnimal .. figure:: images/dataanalysis/TableCountAnimal2.png :width: 500px :align: center :alt: This is the image caption Screenshot of Table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6534 - 6641 :emphasize-lines: 1 Function generateTablePercentIndicatorImpact =============================================== .. js:autofunction:: generateTablePercentIndicatorImpact .. figure:: images/dataanalysis/TablePercent23.png :width: 500px :align: center :alt: This is the image caption Screenshot of Tables .. figure:: images/dataanalysis/TablePercent23_1.png :width: 500px :align: center :alt: This is the image caption Screenshot of Table .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6664 - 6766 :emphasize-lines: 1 Function generateTablePercentIndicatorImpactChange ==================================================== .. js:autofunction:: generateTablePercentIndicatorImpactChange .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6778 - 6912 :emphasize-lines: 1 .. _generateTableIndicator41AgrEmpl Overview: Function generateTableIndicator41AgrEmpl ======================================== .. js:autofunction:: generateTableIndicator41AgrEmpl .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6923 - 6990 :emphasize-lines: 1 Function formatTables ================================= .. js:autofunction:: formatTables .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 6999 - 7040 :emphasize-lines: 1 .. _formatText Overview: Function formatText ================================= .. js:autofunction:: formatText .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7139 - 7153 :emphasize-lines: 1 .. _formatNote Overview: Function formatNote ================================= .. js:autofunction:: formatNote .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7166 - 7171 :emphasize-lines: 1 .. _takeUniqueDataBGsheet Overview: Function takeUniqueDataBGsheet ================================= .. js:autofunction:: takeUniqueDataBGsheet .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7182 - 7199 :emphasize-lines: 1 .. _formatGraphArrow Overview: Function formatGraphArrow ================================= .. js:autofunction:: formatGraphArrow .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7214 - 7226 :emphasize-lines: 1 .. _formatHeader Overview: Function formatHeader ================================= .. js:autofunction:: formatHeader .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7234 - 7253 :emphasize-lines: 1 .. _generateTemplateDataSpCountry Overview: Function generateTemplateDataSpCountry ================================================ .. js:autofunction:: generateTemplateDataSpCountry .. literalinclude:: ../scripts/DATA_ANALYSIS_livelihoods_specific.js :language: js :linenos: :lines: 7264 - 7592 :emphasize-lines: 1