We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ecospold2matrix
flowchart TD Ain[IntermediateExchanges.xml] --> A["extract_products()"] --> Aout[products: pd.DataFrame] Bin[ActivityIndex.xml <br> ActivityNames.xml] --> B["extract_activities()"] --> Bout[activities: pd.DataFrame] C["get_labels()"] --> Cextract1 --> Cout[PRO: pd.DataFrame <br> STR: pd.DataFrame] Cin[ElementaryExchanges.xml <br> spold files] --> C --> Cextract2 --> Cout Din[spold files] --> D["get_flows()"] --> Dextract["extract_flows()"] --> Dout[inflows: pd.DataFrame <br> outflows: pd.DataFrame <br> elementary_flows: pd.DataFrame] Cextract1["build_PRO()"] Cextract2["build_STR()"]
inflows
pd.DataFrame
.spold
outflows
elementary_flows
activities
ActivityIndex.xml
ActivityNames.xml
products
IntermediateExchanges.xml
STR
ElementaryExchanges.xml
PRO
flowchart TD in[activities: pd.DataFrame <br> products: pd.DataFrame] --> F["complement_labels()"] --> out[PRO: pd.DataFrame <br> STR: pd.DataFrame]
index
flowchart TD in[inflows: pd.DataFrame <br> elementary_flows: pd.DataFrame <br> outflows: pd.DataFrame] --> F["build_AF()"] --> out[A: pd.DataFrame <br> F: pd.DataFrame]
A
F
flowchart TD in["LCIA Implementation v3.8.xlsx"] --> F1["if-else"] --> F2["simple_characterisation_matching()"] --> out[A: pd.DataFrame <br> C: pd.DataFrame]
C
C_long
The text was updated successfully, but these errors were encountered:
michaelweinold
No branches or pull requests
Ecospold xml Ingestion
DataFrame Table
(e2m)
(bw) or Ecospold
inflows
pd.DataFrame
sourceActivityId
productId
amount
row_index
.spold
file nameactivityLinkId
intermediateExchangeId
amount
???
.spold
filesoutflows
pd.DataFrame
productId
amount
productionVolume
outputGroup
.spold
file nameintermediateExchangeId
amount
productionVolume
outputGroup
.spold
fileselementary_flows
pd.DataFrame
elementaryExchangeId
amount
.spold
file nameelementaryExchangeId
amount
.spold
filesactivities
pd.DataFrame
activityNameId
activityType
startDate
endDate
activityName
activityNameId
activityType
startDate
endDate
activityName
ActivityIndex.xml
with activityName data merged fromActivityNames.xml
products
pd.DataFrame
unitName
productId
unitId
cpc
properties
unitName
id
unitId
classification == 'cpc'
properties
IntermediateExchanges.xml
STR
pd.DataFrame
name
unit
cas
comp
subcomp
name
unitName
casNumber
compartment
subcompartment
ElementaryExchanges.xml
PRO
pd.DataFrame
'productId'
'activityName'
'ISIC'
'price'
'priceUnit'
'EcoSpoldCategory'
'geography'
'technologyLevel'
'macroEconomicScenario'
properties_x
'productionVolume'
'productName'
'unitName'
'cpc'
properties_y
'activityNameId'
'activityType'
'startDate'
'endDate'
'activityName_duplicate'
'productId'
'activityName'
'ISIC'
'price'
'priceUnit'
'EcoSpoldCategory'
'geography'
'technologyLevel'
'macroEconomicScenario'
properties_x
'productionVolume'
'productName'
'unitName'
'cpc'
properties_y
'activityNameId'
'activityType'
'startDate'
'endDate'
'activityName_duplicate'
.spold
filesPreparation and Cleanup
DataFrame Table
(e2m)
(bw) or Ecospold
PRO
pd.DataFrame
'productionVolume'
all cols. from
products
all cols. from
activities
'productionVolume'
all cols. from
products
all cols. from
activities
Join Table
PRO
outflows
index
= 'abc'index
= 'abc'PRO
products
index
= 'abc'index
= 'abc'PRO
activities
index
= 'abc'index
= 'abc'DataFrame Construction (change heading)
DataFrame Table
Pivot Table
A
inflows
PRO
.index = 'abc'PRO
.index = 'abc'F
elementary_flows
STR
.index = 'abc'PRO
.index = 'abc'Characterization
Pivot Table
C
C_long
The text was updated successfully, but these errors were encountered: