iode.increment_t

iode.increment_t(increment: int)[source]

Increment the value of t in {report expressions} by a given number of periods.

Parameters:
increment: int

Number of periods to increment t by. For example, if t is “2000Y1” and increment is 1, then t will become “2001Y1”.

Examples

>>> from iode.reports import set_t, increment_t, execute_command
>>> set_t("2000Y1")
>>> increment_t(1)
>>> execute_command("value of t: {t@T}")
iode> value of t: 2001Y1