Potherca
1/11/2018 - 7:44 PM

Fair Finance Guide International - Total scores

Fair Finance Guide International - Total scores

Summary/Total scores of banks and insurance companies for the year 2017 as measured by https://eerlijkegeldwijzer.nl/

Banks

  1. Triodos Bank: 8.50
  2. ASN Bank: 8.00
  3. SNS: 7.62
  4. ABN Amro: 5.90
  5. NIBC: 5.90
  6. Van Lanschot: 5.86
  7. Rabobank: 5.67
  8. ING Bank: 5.00

Insurance companies

  1. ASR: 7.19
  2. Achmea: 6.38
  3. Vivat: 6.33
  4. Delta Lloyd: 5.05
  5. APG: 2.76
  6. NN Group: 2.71
  7. Aegon: 2.14
  8. Allianz: 2.14
  9. Legal en General: 1.48
  10. Generali: 1.38
console.clear();

var iCount, iCounter, iRows, iTotal, sBank, sResult, aScores = [];

/* Calculate scores */
iCount = $('table.scores-container thead td').length;

for (iCounter = 1; iCounter <= iCount; iCounter++) {

    sBank = '';
    iTotal = 0;
    iRows = 0;

    $('table td:nth-of-type(' + iCounter + ')').each(function (i, o) {
        var iScore, sScore;

        sScore = $(o).find('a').attr('class').substr(6, 2);
        iScore = parseInt(sScore);

        if (isNaN(iScore) === false) {
            if (iScore > 0) {
                iTotal += iScore;
                iRows++;
            }
        } else {
            sBank = $(o).find('[data-bind="text: name"]').text().trim();
        }
    });

    aScores.push({
        name: sBank,
        score: (iTotal / iRows).toFixed(2)
    });
}

/* Sort by score */
aScores.sort(function (a, b) {
    return b.score - a.score;
});

/* Create output */
sResult = '';
aScores.forEach(function (p_oScore) {
    sResult += p_oScore.name + ': ' + p_oScore.score + "\n";
});

console.log(sResult);

/*EOF*/

Introduction

Fair Finance Guide International (FFGI) is an international civil society network initiated by Oxfam, that seeks to strengthen the commitment of banks and other financial institutions to social, environmental and human rights standards.

Every year, the FFGI publishes records of how financial institutions perform on a set of subjects.

For the Netherlands these results are published at https://eerlijkegeldwijzer.nl/

The website shows the scores for each company per subject but does not show a total.

The javascript file calculate-total-scores.js has logic to calculate these scores.

The result can be seen in the eerlijkegeldwijzer-scores-2017.md files.