![]() |
PING
0.9
Statistical data handling and processing in production environment
|
Run a given macro for every single year and zone of any given periods and geographical areas.
time : (list of) period(s)/year(s) considered for calculation;geo : (list of) country(ies)/geographical zone(s) considered for calculation;timeloop, geoloop : (option) boolean flags (yes/no) set to specify whether loops over time and geo respectively should be considered, orprocess : (option) name of the macro that will be ran for every geo area and time period; this macro must stick to the following usage: %&process(&year, &geo, &ctries, ¯o_arguments);where
year is one period taken from time, and ctries is the list of countries included in the area represented by geo, while geo is the same as above; default: process is set to a macro _process_geotime which must be defined; in practice, the macro is ran using %macro_execute;macro_arguments... : (option) whatever additional (positional or keyword) arguments taken by the macro %&process.... whatever the original macro %&process returns.
%&process takes both positional and keyword arguments, then the above keyword argument process= to _run_geotime macro shall be inserted after the positional arguments of %&process in the list macro_arguments. Say it otherwise, let us say that a given macro _process is used as follows:then the generic running of this function shall be written as: