Profession summary: Government Operational Research 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 95 respondents, 100% 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 5.3%
Rarely 6.3%
Sometimes 24.2%
Regularly 38.9%
Always 25.3%
Sample size = 95

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 74.7%
Python 48.4%
SQL 46.3%
SAS 14.7%
DAX 9.5%
Spark 4.2%
VBA 4.2%
Matlab 0%
SPSS 0%
Stata 0%
Sample size = 95

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 93.7%
SQL 70.5%
Python 68.4%
SAS 33.7%
Matlab 24.2%
VBA 24.2%
DAX 14.7%
SPSS 10.5%
Spark 7.4%
Stata 6.3%
Sample size = 95

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 69.5%
Yes, but I don't use it in my current role 15.8%
No 14.7%
Sample size = 95

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 0%
Less than 1 year 12.6%
Between 1 and 3 years 22.1%
Between 3 and 5 years 16.8%
Over 5 years 48.4%
Sample size = 95

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 28.4%
It has become slightly better 44.2%
It has stayed the same 13.7%
It has become slightly worse 12.6%
It has become significantly worse 1.1%
Sample size = 95

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 4.4% 1.1% 6.7% 12.2% 27.8% 47.8%
Manually test code 4.4% 1.1% 2.2% 7.8% 28.9% 55.6%
Separate settings from code 5.6% 2.2% 4.4% 12.2% 32.2% 43.3%
Use a standard code style 7.8% 4.4% 6.7% 14.4% 30% 36.7%
Use control flow 5.6% 1.1% 3.3% 15.6% 30% 44.4%
Use open source software 2.2% 3.3% 2.2% 4.4% 20% 67.8%
Write automated tests 11.1% 16.7% 28.9% 23.3% 15.6% 4.4%
Write functions 5.6% 2.2% 4.4% 17.8% 32.2% 37.8%
Sample size = 90

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% 8.3% 11.9% 26.2% 23.8% 29.8%
Document dependencies 0% 18.3% 20.7% 20.7% 18.3% 22%
Document functions 0% 25.6% 11.5% 25.6% 15.4% 21.8%
Document manual QA steps 0% 3.5% 20% 17.6% 30.6% 28.2%
Document pipeline design 0% 9% 15.4% 30.8% 38.5% 6.4%
Sample size = 84

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 4.4% 1.1% 4.4% 8.9% 32.2% 48.9%
Publish code in the open 13.3% 43.3% 17.8% 12.2% 8.9% 4.4%
Understand project aims 4.4% 0% 1.1% 3.3% 33.3% 57.8%
Understand project roles 6.7% 0% 2.2% 14.4% 34.4% 42.2%
Use version control 5.6% 4.4% 7.8% 8.9% 16.7% 56.7%
Work to quality standards 7.8% 1.1% 4.4% 8.9% 44.4% 33.3%
Sample size = 90

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 87.8%
Work to quality standards Basic 77.8%
Peer review Basic 75.6%
Version control Basic 73.3%
Create project README Basic 50%
Open source own code Basic 13.3%
Manually test code Advanced 84.4%
Use configuration files Advanced 75.6%
Use control flow Advanced 74.4%
Write functions Advanced 70%
Follow code style guidelines Advanced 66.7%
Document dependencies Advanced 36.7%
Document functions Advanced 32.2%
Write automated tests Advanced 20%
Sample size = 90