PING
0.9
Statistical data handling and processing in production environment
|
Return the list of geographic area(s) (e.g., EU28) that contain(s), during a given period, at least one of the countries passed in an input list.
ctry
: (list of) ISO code(s) of countries, e.g., AT, IT, etc...;time
: (option) selected year;cds_ctryxzone
: (option) configuration file storing the description of geographical areas; by default, it is named after the value &G_PING_COUNTRYxZONE
(e.g., META_COUNTRYxZONE
); for further description, see %meta_countryxzone;clib
: (option) name of the library where the configuration file is stored; default to the value &G_PING_LIBCFG
(e.g., LIBCFG
) when not set._zone_
: name of the output macro variable storing the desired list of geographic area(s).
Let us consider the following simple examples:
returns ozone=EA EA12 EA13 EA16 EA17 EA18 EA19 EEA EEA18 EEA28 EEA30 EU07 EU09 EU10 EU12 EU15 EU25 EU27 EU28
, while:
returns ozone=EA EA12 EA13 EA16 EA17 EA18 EA19 EEA EEA18 EEA28 EEA30 EU07 EU09 EU10 EU12 EU15 EU25 EU27 EU28
.
Run macro %_example_ctry_to_zone
for more examples.
time
is passed, the following procedures/macros:cds_ctryxzone
contains in fact for each country in the EU+EFTA geographic area the year of entrance in/exit of (when such case applies) any given euro zone. In particular, it means that zone
needs to be defined as a field in the table cds_ctryxzone
.Eurostat: Tutorial on "Country codes and protocol order".