Skip to content

Commit

Permalink
Merge pull request #194 from agoenergy/192-update-context-data-excel
Browse files Browse the repository at this point in the history
update context data excel file
  • Loading branch information
joAschauer authored Dec 13, 2023
2 parents 6bd0ddb + 84d979c commit cf6e1dc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
10 changes: 1 addition & 9 deletions app/context_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,11 @@ def load_context_data():
cd["demand_countries"] = pd.read_excel(
filename, sheet_name="demand_countries", skiprows=1
)
cd["certification_schemes_countries"] = pd.read_excel(
filename, sheet_name="certification_schemes_countries"
)
cd["certification_schemes"] = pd.read_excel(
filename, sheet_name="certification_schemes", skiprows=1
)
cd["sustainability"] = pd.read_excel(filename, sheet_name="sustainability")
cd["supply"] = pd.read_excel(filename, sheet_name="supply", skiprows=1)
cd["literature"] = pd.read_excel(filename, sheet_name="literature")
cd["infobox"] = pd.read_excel(
filename,
sheet_name="infobox",
usecols="A:F",
skiprows=1,
).set_index("country_name")

return cd
1 change: 0 additions & 1 deletion app/tab_certification_schemes.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def _render_scheme_info(context_data, scheme_name):
st.markdown(
f"- **Relation to other standards:** {data['relation_to_other_standards']}"
)
st.markdown(f"- **Geographic scope:** {data['geographic_scope']}")
st.markdown(f"- **PTXBOA demand countries:** {data['ptxboa_demand_countries']}")
st.markdown(f"- **Labels:** {data['label']}")
st.markdown(f"- **Lifecycle scope:** {data['lifecycle_scope']}")
Expand Down
Binary file modified data/context_data.xlsx
Binary file not shown.

0 comments on commit cf6e1dc

Please sign in to comment.