Profession summary: Government Digital and Data

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 54 respondents, 96.3% 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.8%
Rarely 9.6%
Sometimes 13.5%
Regularly 36.5%
Always 34.6%
Sample size = 52

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
Python 55.6%
R 51.9%
SQL 38.9%
DAX 13%
SAS 11.1%
Spark 5.6%
SPSS 1.9%
VBA 1.9%
Matlab 0%
Stata 0%
Sample size = 54

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 75.9%
Python 68.5%
SQL 66.7%
SAS 22.2%
DAX 16.7%
Spark 16.7%
SPSS 14.8%
Matlab 13%
VBA 11.1%
Stata 5.6%
Sample size = 54

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 75%
Yes, but I don't use it in my current role 7.7%
No 17.3%
Sample size = 52

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 1.9%
Less than 1 year 9.6%
Between 1 and 3 years 25%
Between 3 and 5 years 19.2%
Over 5 years 44.2%
Sample size = 52

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 42.3%
It has become slightly better 26.9%
It has stayed the same 15.4%
It has become slightly worse 9.6%
It has become significantly worse 5.8%
Sample size = 52

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 0% 6.1% 10.2% 14.3% 24.5% 44.9%
Manually test code 2% 6.1% 2% 6.1% 36.7% 46.9%
Separate settings from code 6.1% 6.1% 4.1% 10.2% 38.8% 34.7%
Use a standard code style 8.2% 12.2% 12.2% 10.2% 28.6% 28.6%
Use control flow 4.1% 6.1% 6.1% 10.2% 28.6% 44.9%
Use open source software 2% 8.2% 4.1% 2% 18.4% 65.3%
Write automated tests 4.1% 28.6% 20.4% 14.3% 16.3% 16.3%
Write functions 2% 4.1% 2% 14.3% 36.7% 40.8%
Sample size = 49

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% 10.9% 8.7% 15.2% 21.7% 43.5%
Document dependencies 0% 11.6% 11.6% 11.6% 25.6% 39.5%
Document functions 0% 16.3% 11.6% 7% 30.2% 34.9%
Document manual QA steps 0% 15.9% 6.8% 34.1% 11.4% 31.8%
Document pipeline design 0% 16.3% 9.3% 34.9% 18.6% 20.9%
Sample size = 46

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 10.2% 2% 4.1% 8.2% 32.7% 42.9%
Publish code in the open 12.2% 24.5% 8.2% 28.6% 16.3% 10.2%
Understand project aims 4.1% 0% 0% 12.2% 32.7% 51%
Understand project roles 10.2% 0% 0% 16.3% 32.7% 40.8%
Use version control 4.1% 6.1% 6.1% 8.2% 20.4% 55.1%
Work to quality standards 10.2% 2% 0% 12.2% 32.7% 42.9%
Sample size = 49

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 80.4%
Version control Basic 72.5%
Work to quality standards Basic 72.5%
Peer review Basic 66.7%
Create project README Basic 58.8%
Open source own code Basic 25.5%
Manually test code Advanced 80.4%
Write functions Advanced 74.5%
Use control flow Advanced 70.6%
Use configuration files Advanced 70.6%
Document functions Advanced 54.9%
Follow code style guidelines Advanced 54.9%
Document dependencies Advanced 54.9%
Write automated tests Advanced 31.4%
Sample size = 51