Profession summary: Government Economic Service

Note

Please note, these are the initial summary statistics for CARS 2026 and further analysis will follow. We advise linking directly to this document when distributing to ensure the most up to date information.

How to use this research

Responding to CARS is voluntary. The results presented here are from a self-selecting sample of government analysts. Because respondents are self-selecting, the results we present reflect the views of the analysts who participated.

For more detail, see the data collection page.

Coding frequency and tools

How often analysts are using code at work

We asked all respondents if they had any coding experience, inside or outside of work. Of 70 respondents, 90% reported having coding experience. We asked respondents with coding experience “In your current role, how often do you write code to complete your work objectives?”

Show chart Show table
In your current role, how often do you write code to complete your work objectives? Percentage
Never 14.3%
Rarely 23.8%
Sometimes 20.6%
Regularly 31.7%
Always 9.5%
Sample size = 63

Access to and knowledge of programming languages

Given a list of programming tools, we asked all respondents if the tool was available to use for their work.

Access to tools does not necessarily refer to official policy. Some analysts may have access to tools others cannot access within the same organisation.

Access to coding tools

Show chart Show table
Programming language Use
R 58.6%
Python 24.3%
SQL 17.1%
SAS 12.9%
Stata 5.7%
SPSS 2.9%
VBA 2.9%
Spark 1.4%
DAX 0%
Matlab 0%
Sample size = 70

Given the same list of programming tools, all respondents were asked if they knew how to program with the tool to a level suitable for their work, answering “Yes”, “No” or “Not required for my work”.

Please note that capability in programming languages is self-reported here and was not objectively defined or tested. The statement “not required for my work” was similarly not defined.

Knowledge of coding tools

Show chart Show table
Programming language Knowledge
R 77.1%
Stata 40%
Python 38.6%
SQL 34.3%
SAS 21.4%
SPSS 7.1%
VBA 7.1%
Matlab 4.3%
DAX 1.4%
Spark 1.4%
Sample size = 70

Access to and knowledge of git

We asked respondents to answer “Yes” or “No” for the following question:

  • Do you know how to use git to version-control your work?

Please note these outputs include people who do not code at work.

Knowledge of git

Show chart Show table
Do you know how to use Git? Percentage
Yes, I use it in my current role 38.1%
Yes, but I don't use it in my current role 17.5%
No 44.4%
Sample size = 63

Coding capability and change

Coding experience

We asked respondents with coding experience how many years of experience they had in a coding role, excluding any years in education.

This data includes any experience in other roles and sectors, but does not define the type of experience.

Show chart Show table
How many years of professional coding experience do you have? Percentage
None 6.3%
Less than 1 year 27%
Between 1 and 3 years 25.4%
Between 3 and 5 years 22.2%
Over 5 years 19%
Sample size = 63

Change in coding ability during current role

We asked “Has your coding ability changed during your current role?”

This question was only asked of respondents with coding experience outside of their current role. This means analysts who first learned to code in their current role are not included in the data.

Show chart Show table
How has your coding ability changed during your current role? Percentage
It has become significantly better 20.6%
It has become slightly better 42.9%
It has stayed the same 20.6%
It has become slightly worse 9.5%
It has become significantly worse 6.3%
Sample size = 63

Coding practices

We asked respondents who said they currently use code in their work, how often they carry out various coding practices. For more information on the practices presented below, please read our guidance on Quality Assurance of Code for Analysis and Research

Open sourcing was defined as ‘making code freely available to be modified and redistributed’

Consistency of good coding practices

Show chart Show table
Statement I don't understand this question (%) Never (%) Rarely (%) Sometimes (%) Regularly (%) All the time (%)
Have code reviewed 1.9% 1.9% 14.8% 22.2% 38.9% 20.4%
Manually test code 1.9% 7.4% 3.7% 16.7% 33.3% 37%
Separate settings from code 9.3% 16.7% 16.7% 14.8% 22.2% 20.4%
Use a standard code style 22.2% 11.1% 3.7% 13% 18.5% 31.5%
Use control flow 13% 14.8% 13% 20.4% 16.7% 22.2%
Use open source software 0% 5.6% 7.4% 14.8% 20.4% 51.9%
Write automated tests 16.7% 38.9% 18.5% 16.7% 7.4% 1.9%
Write functions 7.4% 3.7% 25.9% 13% 27.8% 22.2%
Sample size = 54

Documentation

We asked respondents who reported writing code at work how frequently they write different forms of documentation when programming in their current role.

Embedded documentation is one of the components which make up a RAP minimum viable product. Documentation is important to help others be clear on how to use the product and what the code is intended to do.

Show chart Show table
Statement I don't understand this question (%) Never (%) Rarely (%) Sometimes (%) Regularly (%) Always (%)
Create README files 0% 20.8% 12.5% 33.3% 18.8% 14.6%
Document dependencies 0% 37.8% 17.8% 13.3% 11.1% 20%
Document functions 0% 51.2% 16.3% 14% 9.3% 9.3%
Document manual QA steps 0% 14.6% 12.5% 31.2% 29.2% 12.5%
Document pipeline design 0% 35.7% 11.9% 21.4% 21.4% 9.5%
Sample size = 48

Working practices

We asked respondents who reported writing code at work how frequently they use good working practices in the coding projects they work on.

Show chart Show table
Statement I don't understand this question (%) Never (%) Rarely (%) Sometimes (%) Regularly (%) Always (%)
Have a succession plan 5.6% 7.4% 0% 14.8% 38.9% 33.3%
Publish code in the open 18.5% 63% 1.9% 7.4% 7.4% 1.9%
Understand project aims 5.6% 1.9% 0% 13% 31.5% 48.1%
Understand project roles 16.7% 3.7% 3.7% 9.3% 25.9% 40.7%
Use version control 7.4% 27.8% 16.7% 7.4% 18.5% 22.2%
Work to quality standards 14.8% 1.9% 5.6% 20.4% 31.5% 25.9%
Sample size = 54

Reproducible analytical pipelines (RAP)

We asked respondents about their knowledge of and opinions on reproducible analytical pipelines (RAP). RAP refers to the use of practices from software engineering to make analysis more reproducible. These practices build on the advantages of writing analysis as code by ensuring increased quality, trust, efficiency, business continuity and knowledge management.

The RAP champions are a network of analysts across government who promote and support RAP development in their departments. Please contact the analysis standards and pipelines team for any enquiries about RAP or the champions network.

The Analysis Function RAP strategy was released in June 2022 and sets out plans for adopting RAP across government.

RAP scores

In this section we present RAP components and RAP scores.

For each RAP component a percent positive was calculated. Positive responses were recorded where an answer of “regularly” or “all the time” was given. For documentation, a positive response was recorded if both code comments and README files questions received positive responses. For the continuous integration and dependency management components, responses of “yes” were recorded as positive.

“Basic” components are the components which make up the RAP MVP. “Advanced” components are components which help improve reproducibility, but are not considered part of the minimum standard.

RAP components

Show chart Show table
RAP component Type Percentage of analysts who code in their work
Use open source software Basic 63.9%
Peer review Basic 52.5%
Work to quality standards Basic 50.8%
Version control Basic 36.1%
Create project README Basic 26.2%
Open source own code Basic 8.2%
Manually test code Advanced 62.3%
Write functions Advanced 44.3%
Follow code style guidelines Advanced 44.3%
Use configuration files Advanced 37.7%
Use control flow Advanced 34.4%
Document dependencies Advanced 23%
Document functions Advanced 13.1%
Write automated tests Advanced 8.2%
Sample size = 61