Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global industry dataset #221

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e759570
Global industry dataset
Eddy-JV Aug 17, 2023
f30eaa8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 17, 2023
88a9092
add working script
hazemakhalek Aug 21, 2023
df174d9
integrate database creation into the workflow
hazemakhalek Aug 21, 2023
c929bc4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 21, 2023
27e0483
Delete capacity.csv
hazemakhalek Aug 21, 2023
9e8495e
Delete coal.csv
hazemakhalek Aug 21, 2023
8ad10d8
Delete minerals.csv
hazemakhalek Aug 21, 2023
0f61fe8
Delete material_ids.csv
hazemakhalek Aug 21, 2023
8ff4682
Delete commodities.csv
hazemakhalek Aug 21, 2023
0efb7d1
Delete ownership.csv
hazemakhalek Aug 21, 2023
9b88663
Delete processing.csv
hazemakhalek Aug 21, 2023
727290b
Delete reserves.csv
hazemakhalek Aug 21, 2023
933aab4
Delete source_ids.csv
hazemakhalek Aug 21, 2023
f25960d
Delete transport.csv
hazemakhalek Aug 21, 2023
de09073
Delete waste.csv
hazemakhalek Aug 21, 2023
eb9ab35
Delete industry_cement.csv
hazemakhalek Aug 21, 2023
e3f2f07
Delete industry_steel.csv
hazemakhalek Aug 21, 2023
1074002
Delete industry.py
hazemakhalek Aug 21, 2023
71ccc61
Delete industry_oil_refineries.csv
hazemakhalek Aug 21, 2023
b03e30c
Delete industry_cement_ukraine.csv
hazemakhalek Aug 21, 2023
5d36544
Delete industry_coal_and_ferrous.csv
hazemakhalek Aug 21, 2023
0a82685
fix missing script in snakefile and add to gitignore
hazemakhalek Aug 22, 2023
7b46ebe
fix minor bug
hazemakhalek Aug 22, 2023
215d9af
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 22, 2023
febb9a7
fix dtype and remove nans form steel database
hazemakhalek Aug 22, 2023
c9206d6
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 22, 2023
50ee494
fix minor bug in build_industrial_database
hazemakhalek Aug 22, 2023
6ab397d
read numbers as numerics in build_distribution_keys
hazemakhalek Aug 22, 2023
3aeed12
add paper database
hazemakhalek Aug 31, 2023
89b252e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 31, 2023
3fd4267
fix minor bugs in paper industry
hazemakhalek Sep 4, 2023
0e370d2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 4, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ data/industry_sector_ratios_NZ_2030.csv
/data/transport_data.csv
/data/switzerland*
/data/.nfs*
/data/demand/unsd/data
/data/industrial_database.csv
#/data/Industrial_Database.csv
/data/retro/tabula-calculator-calcsetbuilding.csv
/data/nuts*
Expand Down
7 changes: 7 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,13 @@ rule plot_summary:
"scripts/plot_summary.py"


rule build_industrial_database:
output:
industrial_database="data/industrial_database.csv",
script:
"scripts/build_industrial_database.py"


rule prepare_db:
input:
network=RDIR
Expand Down
Loading
Loading