Fix typos and descriptions in Benin part

This commit is contained in:
Marty Oehme 2022-09-07 12:07:31 +02:00
parent 2bd5f63b0d
commit 26e0cb43b4
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -135,7 +135,7 @@ financetotals_grouped = financetotals_grouped.reset_index(['Flow', 'Year'])
financetotals_grouped.columns = financetotals_grouped.columns.to_flat_index() financetotals_grouped.columns = financetotals_grouped.columns.to_flat_index()
financetotals_grouped.columns = ['Financetype', 'Year', 'Value'] financetotals_grouped.columns = ['Financetype', 'Year', 'Value']
fig = px.line(financetotals_grouped, x='Year', y='Value', color='Financetype', labels={"Value": "Development aid, in millions"}, markers=True, template="seaborn") fig = px.line(financetotals_grouped, x='Year', y='Value', color='Financetype', labels={"Value": "Development aid amount, in millions of USD"}, markers=True, template="seaborn")
fig.show() fig.show()
``` ```
@ -170,7 +170,7 @@ donortotals_grouped = donortotals.groupby(['Donortype', 'Year']).agg({'Value': [
donortotals_grouped = donortotals_grouped.reset_index(['Donortype', 'Year']) donortotals_grouped = donortotals_grouped.reset_index(['Donortype', 'Year'])
donortotals_grouped.columns = donortotals_grouped.columns.to_flat_index() donortotals_grouped.columns = donortotals_grouped.columns.to_flat_index()
donortotals_grouped.columns = ['Donortype', 'Year', 'Value'] donortotals_grouped.columns = ['Donortype', 'Year', 'Value']
fig = px.line(donortotals_grouped, x='Year', y='Value', color='Donortype', labels={"Value": "Development aid, in millions"}, markers=True, template="seaborn") fig = px.line(donortotals_grouped, x='Year', y='Value', color='Donortype', labels={"Value": "Development aid amount, in millions of USD"}, markers=True, template="seaborn")
fig.show() fig.show()
``` ```
@ -197,8 +197,6 @@ totals = df.loc[
] ]
electricityaid = totals[totals['DONOR'] < 20000] # drop all 'total' aggregations electricityaid = totals[totals['DONOR'] < 20000] # drop all 'total' aggregations
pd.options.display.float_format = "{:.2f}".format
el_grouped = electricityaid.groupby(['Year', 'Flow']).agg({'Value': ['sum']}) el_grouped = electricityaid.groupby(['Year', 'Flow']).agg({'Value': ['sum']})
el_grouped.style.format(escape="latex") el_grouped.style.format(escape="latex")
el_grouped el_grouped
@ -208,8 +206,11 @@ Note: Values shown are for all Official Development Assistance flows valid under
Source: Author's elaboration based on OECD ODA CRS (2022). Source: Author's elaboration based on OECD ODA CRS (2022).
@tbl-ben-aid-electricity shows the amounts of project-bound development aid to Benin for the transmission and distribution of electric power within its centralized grid. @tbl-ben-aid-electricity shows the amounts of project-bound development aid to Benin for the transmission and distribution of electric power within its centralized grid.
The category subsumes grid distribution from the power source to end users and transmission lines.
It also includes storage of energy to generate power (e.g. batteries) and projects to extend grid access,
especially in rural areas.
For development aid to the electrification of Benin, For development aid to the electrification of Benin,
the monetary contributions are smaller and show trends quite different to that of overall development aid to the country. the monetary contributions are smaller but increasing and show trends quite different to that of overall development aid to the country.
The amount of overall development contributions to electrification increases from 2011 to 2020, The amount of overall development contributions to electrification increases from 2011 to 2020,
with significant increases in 2013 and 2015 for loans and 2019, 2020 for grants. with significant increases in 2013 and 2015 for loans and 2019, 2020 for grants.
While there is a steady increase to the overall development aid toward electrification, While there is a steady increase to the overall development aid toward electrification,