@maschinenlesbar.org/bundeshaushalt-cli
    Preparing search index...

    Function comparePlanToActual

    • Planned (Soll) against realised (Ist) figures of one year, for the whole budget or one element, joined by id (never by label). Ist is published only once a year's accounts are closed: when it isn't there, the answer is empty with the reason and the latest of the two years before that has Ist (latestYearWithActuals), never a comparison against nothing; an element with no Ist line in a year whose Ist is published is empty saying that, without an earlier year. Elements present in one quota only are listed apart, not dropped. Differences keep the cents of the Ist figures.

      Parameters

      Returns Promise<PlanVsActual>