pystra.decision.swtp.SWTPIndexRecord#
- class SWTPIndexRecord(code, base_year, target_year, base_index, target_index, factor, indicator='NY.GDP.PCAP.PP.CD', source='World Bank World Development Indicators, NY.GDP.PCAP.PP.CD, GDP per capita, PPP (current international $). API last updated 2026-04-08; values checked 2026-06-23.')[source]#
Index data used to update an anchored SWTP value.
The built-in index records use GDP per capita in current international PPP dollars as a practical update of the LQI income term
g.- __init__(code, base_year, target_year, base_index, target_index, factor, indicator='NY.GDP.PCAP.PP.CD', source='World Bank World Development Indicators, NY.GDP.PCAP.PP.CD, GDP per capita, PPP (current international $). API last updated 2026-04-08; values checked 2026-06-23.')#
Methods
__init__(code, base_year, target_year, ...)Attributes
indicatorsourcecodebase_yeartarget_yearbase_indextarget_indexfactor