Closed dmhowcroft closed 2 months ago
Apparently Owid is adding more tables about life_expectancy
and even this fix still leaves 3 tables to choose from (all named life_expectancy
) . I added an extra fix in a4715587d150640b7954cc64d764e69797756c76 (hopefully the oldest table will stay in the first position).
the original code relied on hardcoded indexing which meant that it actually returned life-expectancy at 60 instead of overall life expectancy