Classification of the Functions of Government (COFOG)

COFOG is the abbreviation of Classification of the Functions of Government. The full structure and definition of each of the over 100 classes can be found in a publication of the United Nations Statistics Division: Classifications of Expenditure According to Purpose: Classification of the Functions of Government (COFOG); Classification of Individual Consumption According to Purpose (COICOP); Classification of the Purposes of Non-Profit Institutions Serving Households (COPNI); Classification of the Outlays of Producers According to Purpose (COPP) at the website of the United Nations Statistics Division. The COFOG section and class definitions have also been added to the pages defining the cofogWW hashtags which are a part of the Ens wiki.

The classification contains the sections in the table below. Each section includes a number of classes. In the COFOG class names, four abbreviations are frequently used: CS, IS, R&D and n.e.c. CS means collective services, IS means individual services, R&D means Research and Development and n.e.c. means not elsewhere classified.

cofog #tag COFOG Section
#cofog01 General Public Services
#cofog02 Defence
#cofog03 Public Order and Safety
#cofog04 Economic Affairs
#cofog05 Environmental Protection
#cofog06 Housing and Community Amenities
#cofog07 Health
#cofog08 Recreation, Culture and Religion
#cofog09 Education
#cofog10 Social Protection

The second annex lists the classes for each of the COFOG divisions, with for each division a link to its description in the Ens wiki. The Ens wiki also includes the full definition of each COFOG class.


Tools for looking up cofog hashtags

For the cofog hashtags two tools are provided: tabbed tables in several languages and a term cloud in English.

The tagcoding pivot page of the Actor Atlas lists the COFOG classes per division in a tabbed table.

The COFOG divisions on the front page of the tabbed table
The COFOG divisions on the front page of the tabbed table

The Actor Atlas also has a English tagcloud for the functions of government.

The country #tagcoding guides list the hashtags for each function of government, for instance for education in Nepal:

Education in Nepal - the cofog hashtags
Education in Nepal - the cofog hashtags

The localised hashtag for the Education division in COFOG is #cofog09NP, and for the education section in ISIC it is #p1NP. The reason is that alphanumeric tags are preferred to avoid homonyms. For the cofog divisions, a tag such as #cofog01NP would be possible, but for the ISIC sections, #isicPNP is a pure alphabetic sequence and therefore hasn’t been selected. To separate the ISIC Section upper case letter from the country code, we have chosen “1”.


COFOG 01 - General Public Services

The COFOG section 01 - General Public Services contains the classes in the below table.

cofog #tag Class name
#cofog0111 Executive and legislative organs (CS)
#cofog0112 Financial and fiscal affairs (CS)
#cofog0113 External affairs (CS)
#cofog0121 Economic aid to developing countries and countries in transition (CS)
#cofog0122 Economic aid routed through international organizations (CS)
#cofog0131 General personnel services (CS)
#cofog0132 Overall planning and statistical services (CS)
#cofog0133 Other general services (CS)
#cofog0140 Basic research (CS)
#cofog0150 R&D General public services (CS)
#cofog0160 General public services n.e.c. (CS)
#cofog0170 Public debt transactions (CS)
#cofog0180 Transfers of a general character between different levels of government (CS)

The tag for the function of government in a country is constructed by adding the ISO country code to the root-tag. For instance for Financial and fiscal affairs in each of the countries below:

Country ISO code class #tag section #tag
Australia AU #cofog0112AU #cofog01AU
Botswana BW #cofog0112BW #cofog01BW
Cameroon CM #cofog0112CM #cofog01CM
Canada CA #cofog0112CA #cofog01CA
The Gambia GM #cofog0112GM #cofog01GM
Ghana GH #cofog0112GH #cofog01GH
Guyana GY #cofog0112GY #cofog01GY
India IN #cofog0112IN #cofog01IN
Ireland IE #cofog0112IE #cofog01IE
Jamaica JM #cofog0112JM #cofog01JM
Jordan JO #cofog0112JO #cofog01JO
Kenya KE #cofog0112KE #cofog01KE
Lesotho LS #cofog0112LS #cofog01LS
Liberia LR #cofog0112LR #cofog01LR
Malawi MW #cofog0112MW #cofog01MW
Mauritius MU #cofog0112MU #cofog01MU
New Zealand NZ #cofog0112NZ #cofog01NZ
Nigeria NG #cofog0112NG #cofog01NG
Pakistan PK #cofog0112PK #cofog01PK
Papua New Guinea PG #cofog0112PG #cofog01PG
Philippines PH #cofog0112PH #cofog01PH
Rwanda RW #cofog0112RW #cofog01RW
Sierra Leone SL #cofog0112SL #cofog01SL
Singapore SG #cofog0112SG #cofog01SG
South Africa ZA #cofog0112ZA #cofog01ZA
South Sudan SS #cofog0112SS #cofog01SS
Sudan SD #cofog0112SD #cofog01SD
Swaziland SZ #cofog0112SZ #cofog01SZ
Tanzania TZ #cofog0112TZ #cofog01TZ
Uganda UG #cofog0112UG #cofog01UG
United Kingdom GB #cofog0112GB #cofog01GB
United States of America US #cofog0112US #cofog01US
Zambia ZM #cofog0112ZM #cofog01ZM
Zimbabwe ZW #cofog0112ZW #cofog01ZW