Module trase.tools.pcs.supply_chains.datasets.retrieve

Functions

def get_dataset_commodity_equivalence_factor_ids(ref_id, year=None, cur=None)
def get_dataset_commodity_equivalence_group_id(ref_id, cur=None)

Return commodity equivalence group id for reference.

def get_dataset_commodity_ids(ref_id, year=None, cur=None)
def get_dataset_flow_ids(ref_id, year=None, cur=None)
def get_dataset_yearly_commodity_volumes(ref_id, year=None, cur=None)
def get_dataset_yearly_domestic_demand(ref_id, year=None, cur=None)
def get_dataset_yearly_flow_ids(ref_id, year=None, cur=None)
def get_dataset_yearly_flow_quants(ref_id, year=None, cur=None) ‑> List[YearlyFlowQuants]
def get_dataset_yearly_raw_volumes(ref_id, year=None, cur=None)
def get_flows_dataset_group_traders(ref_id, no_parent=False, cur=None)
def get_flows_dataset_ind_and_reference_ids(ref_id, year=None, cur=None)
def get_flows_dataset_node_role_position(ref_id, role, cur=None)
def get_flows_dataset_node_sub_types(ref_id, cur=None)
def get_flows_dataset_node_types(ref_id, cur=None)
def get_flows_dataset_path_length(ref_id, cur=None)
def get_flows_dataset_path_position_node_ids(ref_id, position, year=None, cur=None)
def get_flows_dataset_qual_and_reference_ids(ref_id, year=None, cur=None)
def get_flows_dataset_quant_and_reference_ids(ref_id, year=None, cur=None)
def get_flows_dataset_trader_labels(ref_id, no_parent=False, cur=None)
def get_flows_dataset_years(ref_id, cur=None)

Return years of dataset

def get_supply_chain_data(ref_id, year=None, cur=None)

Return all data for supply chain from reference id.

Classes

class QuantYearTotal (quant_id, year, total)

YearlyFlowQuants(quant_id, year, total)

Ancestors

  • builtins.tuple

Instance variables

var quant_id

Alias for field number 0

var total

Alias for field number 2

var year

Alias for field number 1