This example loads the commodity vector q from the API and then calculates the upstream direct requirements, direct impacts, and direct downstream monetary flows related to this vector.