Module trase.tools.pcs.supply_chains.retrieve
Functions
def get_supply_chain(ref_id=None,
year=None,
month=None,
day=None,
time_start=None,
time_end=None,
commodity_id=None,
country_id=None,
limit=None,
offset=None,
include_nodes=None,
exclude_nodes=None,
flow_ids=None,
cur=None)-
Return SupplyChain from dataset; when no ref_id is specified, let user choose from list.
Keyword arguments: ref_id – 'refs.ref_id' in main database raw_id – raw commodity id year – year month – month day – day limit – maximum number of flows cur – main database cursor object