Skip to content

Commit

Permalink
Update dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobb164 committed Oct 12, 2023
1 parent 90f1791 commit 619f803
Showing 1 changed file with 113 additions and 25 deletions.
138 changes: 113 additions & 25 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2368,11 +2368,11 @@ <h1 class="title toc-ignore">Coding in analysis and research response
<div id="welcome" class="section level2">
<h2>Welcome</h2>
<p>Welcome to the Coding in Analysis and Research Survey (CARS) 2022
dashboard. Here you can see our response rate so far, broken down by ONS
dashboard. Here you can see our response rate so far, broken down by
department. CARS is our annual survey on the use of code in government
analysis. You can see the 2021 results in our <a href="https://best-practice-and-impact.github.io/CARS-3/">online
publication</a>.</p>
<p>This year we hope to get over 1,000 responses. So far, we’ve got 1320
<p>This year we hope to get over 1,000 responses. So far, we’ve got 1322
responses. We’re aiming for at least 20 from as many departments as
possible, which will allow us to create customised reports for those
departments. If you’re interested in seeing this, please promote the
Expand Down Expand Up @@ -2406,7 +2406,7 @@ <h2>Responses by department</h2>
#coding-freq-table {display: none;}
</style>
<div id="coding-freq-chart" role="img" aria-label="Chart. Click the show table button to present the data as a text table instead.">
<div id="htmlwidget-70c10275bdc024367374" style="width:800px;height:950px;" class="plotly html-widget "></div>
<div id="htmlwidget-7ec6ec28907aa2162b3e" style="width:800px;height:2050px;" class="plotly html-widget "></div>
</div>
<div id="coding-freq-table">
<table class="table" style="margin-left: auto; margin-right: auto;">
Expand All @@ -2418,58 +2418,146 @@ <h2>Responses by department</h2>
</thead>
<tbody>
<tr>
<td style="text-align:left;"> Data Growth and Operations </td>
<td style="text-align:right;"> 10 </td>
<td style="text-align:left;"> Cabinet Office (excl. agencies) </td>
<td style="text-align:right;"> 17 </td>
</tr>
<tr>
<td style="text-align:left;"> Data Science Campus </td>
<td style="text-align:right;"> 10 </td>
<td style="text-align:left;"> Centre for Environment, Fisheries and Aquaculture Science </td>
<td style="text-align:right;"> 39 </td>
</tr>
<tr>
<td style="text-align:left;"> Economic Statistics Change </td>
<td style="text-align:right;"> 14 </td>
<td style="text-align:left;"> Defence Science and Technology Laboratory </td>
<td style="text-align:right;"> 9 </td>
</tr>
<tr>
<td style="text-align:left;"> Economic Statistics Production and Analysis </td>
<td style="text-align:right;"> 10 </td>
<td style="text-align:left;"> Department for Business, Energy and Industrial Strategy (excl. agencies) </td>
<td style="text-align:right;"> 20 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Digital, Culture, Media and Sport </td>
<td style="text-align:right;"> 25 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Education </td>
<td style="text-align:right;"> 42 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Environment, Food and Rural Affairs (excl. agencies) </td>
<td style="text-align:right;"> 35 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for International Trade </td>
<td style="text-align:right;"> 89 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Levelling Up, Housing and Communities </td>
<td style="text-align:right;"> 28 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Transport (excl. agencies) </td>
<td style="text-align:right;"> 40 </td>
</tr>
<tr>
<td style="text-align:left;"> Department for Work and Pensions </td>
<td style="text-align:right;"> 33 </td>
</tr>
<tr>
<td style="text-align:left;"> Department of Health and Social Care (excl. agencies) </td>
<td style="text-align:right;"> 75 </td>
</tr>
<tr>
<td style="text-align:left;"> Foreign, Commonwealth and Development Office (excl. agencies) </td>
<td style="text-align:right;"> 6 </td>
</tr>
<tr>
<td style="text-align:left;"> Economic, Social and Environmental </td>
<td style="text-align:left;"> Forestry Commission </td>
<td style="text-align:right;"> 33 </td>
</tr>
<tr>
<td style="text-align:left;"> Government Actuary&#39;s Department </td>
<td style="text-align:right;"> 37 </td>
</tr>
<tr>
<td style="text-align:left;"> Health and Safety Executive </td>
<td style="text-align:right;"> 9 </td>
</tr>
<tr>
<td style="text-align:left;"> HM Revenue and Customs </td>
<td style="text-align:right;"> 85 </td>
</tr>
<tr>
<td style="text-align:left;"> Home Office (excl. agencies) </td>
<td style="text-align:right;"> 19 </td>
</tr>
<tr>
<td style="text-align:left;"> Marine Management Organisation </td>
<td style="text-align:right;"> 6 </td>
</tr>
<tr>
<td style="text-align:left;"> Ministry of Defence </td>
<td style="text-align:right;"> 33 </td>
</tr>
<tr>
<td style="text-align:left;"> Ministry of Justice (excl. agencies) </td>
<td style="text-align:right;"> 52 </td>
</tr>
<tr>
<td style="text-align:left;"> National Records of Scotland </td>
<td style="text-align:right;"> 29 </td>
</tr>
<tr>
<td style="text-align:left;"> Natural England </td>
<td style="text-align:right;"> 10 </td>
</tr>
<tr>
<td style="text-align:left;"> Health Analysis and Pandemic Insight </td>
<td style="text-align:right;"> 41 </td>
<td style="text-align:left;"> Northern Ireland Statistics and Research Agency </td>
<td style="text-align:right;"> 27 </td>
</tr>
<tr>
<td style="text-align:left;"> Office for National Statistics </td>
<td style="text-align:right;"> 225 </td>
</tr>
<tr>
<td style="text-align:left;"> Office for Standards in Education, Children&#39;s Services and Skills (Ofsted) </td>
<td style="text-align:right;"> 18 </td>
</tr>
<tr>
<td style="text-align:left;"> Ofqual </td>
<td style="text-align:right;"> 9 </td>
</tr>
<tr>
<td style="text-align:left;"> Other </td>
<td style="text-align:right;"> 12 </td>
</tr>
<tr>
<td style="text-align:left;"> Health Population and Methods </td>
<td style="text-align:right;"> 43 </td>
<td style="text-align:left;"> Public Health Scotland </td>
<td style="text-align:right;"> 38 </td>
</tr>
<tr>
<td style="text-align:left;"> Macroeconomic and Environment Statistics and Analysis </td>
<td style="text-align:right;"> 14 </td>
<td style="text-align:left;"> Scottish Government (excl. agencies) </td>
<td style="text-align:right;"> 40 </td>
</tr>
<tr>
<td style="text-align:left;"> Methodology and Quality </td>
<td style="text-align:right;"> 34 </td>
<td style="text-align:left;"> UK Health Security Agency </td>
<td style="text-align:right;"> 25 </td>
</tr>
<tr>
<td style="text-align:left;"> Public Policy Analysis </td>
<td style="text-align:left;"> Welsh Government </td>
<td style="text-align:right;"> 23 </td>
</tr>
<tr>
<td style="text-align:left;"> Surveys </td>
<td style="text-align:right;"> 13 </td>
<td style="text-align:left;"> Welsh Revenue Authority </td>
<td style="text-align:right;"> 5 </td>
</tr>
</tbody>
<tfoot>
<tr>
<td style="padding: 0; border:0;" colspan="100%"><sup>a</sup> Sample size = 1320</td>
<td style="padding: 0; border:0;" colspan="100%"><sup>a</sup> Sample size = 1322</td>
</tr>
</tfoot>
</table>
</div>
<script type="application/json" data-for="htmlwidget-70c10275bdc024367374">{"x":{"visdat":{"705c2ff610aa":["function () ","plotlyVisDat"]},"cur_data":"705c2ff610aa","attrs":{"705c2ff610aa":{"x":[13,23,34,14,43,41,10,10,14,10,10],"y":["Surveys","Public Policy Analysis","Methodology and Quality","Macroeconomic and Environment<br>Statistics and Analysis","Health Population and Methods","Health Analysis and Pandemic<br>Insight","Economic, Social and Environmental","Economic Statistics Production<br>and Analysis","Economic Statistics Change","Data Science Campus","Data Growth and Operations"],"marker":{"color":"#004556"},"orientation":"h","alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"bar"}},"layout":{"width":800,"height":950,"margin":{"b":100,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"Number of respondents","tickfont":{"size":14},"titlefont":{"size":16.8}},"yaxis":{"domain":[0,1],"automargin":true,"title":"","tickfont":{"size":14},"titlefont":{"size":16.8},"type":"category","categoryorder":"array","categoryarray":["Surveys","Public Policy Analysis","Methodology and Quality","Macroeconomic and Environment<br>Statistics and Analysis","Health Population and Methods","Health Analysis and Pandemic<br>Insight","Economic, Social and Environmental","Economic Statistics Production<br>and Analysis","Economic Statistics Change","Data Science Campus","Data Growth and Operations"]},"hoverlabel":{"bgcolor":"white","font":{"size":14}},"annotations":[{"x":1,"y":0,"text":"Sample size = 1320","showarrow":false,"xanchor":"right","yanchor":"auto","xshift":0,"yshift":-100,"xref":"paper","yref":"paper","font":{"size":14}},{"text":"Department","y":1,"x":"min","showarrow":false,"yshift":30,"xref":"paper","yref":"paper","font":{"size":16.8}}],"shapes":[{"type":"line","line":{"color":"#ff6900"},"x0":20,"y0":-0.5,"x1":20,"y1":10.5}],"hovermode":"closest","showlegend":false},"source":"A","config":{"modeBarButtonsToAdd":["hoverclosest","hovercompare"],"showSendToCloud":false,"displayModeBar":false},"data":[{"x":[13,23,34,14,43,41,10,10,14,10,10],"y":["Surveys","Public Policy Analysis","Methodology and Quality","Macroeconomic and Environment<br>Statistics and Analysis","Health Population and Methods","Health Analysis and Pandemic<br>Insight","Economic, Social and Environmental","Economic Statistics Production<br>and Analysis","Economic Statistics Change","Data Science Campus","Data Growth and Operations"],"marker":{"color":"#004556","line":{"color":"rgba(31,119,180,1)"}},"orientation":"h","type":"bar","error_y":{"color":"rgba(31,119,180,1)"},"error_x":{"color":"rgba(31,119,180,1)"},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
<script type="application/json" data-for="htmlwidget-7ec6ec28907aa2162b3e">{"x":{"visdat":{"48e0601d2465":["function () ","plotlyVisDat"]},"cur_data":"48e0601d2465","attrs":{"48e0601d2465":{"x":[5,23,25,40,38,12,9,18,225,27,10,29,52,33,6,19,9,85,37,33,6,75,33,40,28,89,35,42,25,20,9,39,17],"y":["Welsh Revenue Authority","Welsh Government","UK Health Security Agency","Scottish Government (excl. agencies)","Public Health Scotland","Other","Ofqual","Office for Standards in Education, Children's<br>Services and Skills (Ofsted)","Office for National Statistics","Northern Ireland Statistics and Research<br>Agency","Natural England","National Records of Scotland","Ministry of Justice (excl. agencies)","Ministry of Defence","Marine Management Organisation","Home Office (excl. agencies)","Health and Safety Executive","HM Revenue and Customs","Government Actuary's Department","Forestry Commission","Foreign, Commonwealth and Development<br>Office (excl. agencies)","Department of Health and Social Care (excl.<br>agencies)","Department for Work and Pensions","Department for Transport (excl. agencies)","Department for Levelling Up, Housing and<br>Communities","Department for International Trade","Department for Environment, Food and Rural<br>Affairs (excl. agencies)","Department for Education","Department for Digital, Culture, Media<br>and Sport","Department for Business, Energy and Industrial<br>Strategy (excl. agencies)","Defence Science and Technology Laboratory","Centre for Environment, Fisheries and<br>Aquaculture Science","Cabinet Office (excl. agencies)"],"marker":{"color":"#004556"},"orientation":"h","alpha_stroke":1,"sizes":[10,100],"spans":[1,20],"type":"bar"}},"layout":{"width":800,"height":2050,"margin":{"b":100,"l":60,"t":25,"r":10},"xaxis":{"domain":[0,1],"automargin":true,"title":"Number of respondents","tickfont":{"size":14},"titlefont":{"size":16.8}},"yaxis":{"domain":[0,1],"automargin":true,"title":"","tickfont":{"size":14},"titlefont":{"size":16.8},"type":"category","categoryorder":"array","categoryarray":["Welsh Revenue Authority","Welsh Government","UK Health Security Agency","Scottish Government (excl. agencies)","Public Health Scotland","Other","Ofqual","Office for Standards in Education, Children's<br>Services and Skills (Ofsted)","Office for National Statistics","Northern Ireland Statistics and Research<br>Agency","Natural England","National Records of Scotland","Ministry of Justice (excl. agencies)","Ministry of Defence","Marine Management Organisation","Home Office (excl. agencies)","Health and Safety Executive","HM Revenue and Customs","Government Actuary's Department","Forestry Commission","Foreign, Commonwealth and Development<br>Office (excl. agencies)","Department of Health and Social Care (excl.<br>agencies)","Department for Work and Pensions","Department for Transport (excl. agencies)","Department for Levelling Up, Housing and<br>Communities","Department for International Trade","Department for Environment, Food and Rural<br>Affairs (excl. agencies)","Department for Education","Department for Digital, Culture, Media<br>and Sport","Department for Business, Energy and Industrial<br>Strategy (excl. agencies)","Defence Science and Technology Laboratory","Centre for Environment, Fisheries and<br>Aquaculture Science","Cabinet Office (excl. agencies)"]},"hoverlabel":{"bgcolor":"white","font":{"size":14}},"annotations":[{"x":1,"y":0,"text":"Sample size = 1322","showarrow":false,"xanchor":"right","yanchor":"auto","xshift":0,"yshift":-100,"xref":"paper","yref":"paper","font":{"size":14}},{"text":"Department","y":1,"x":"min","showarrow":false,"yshift":30,"xref":"paper","yref":"paper","font":{"size":16.8}}],"shapes":[{"type":"line","line":{"color":"#ff6900"},"x0":20,"y0":-0.5,"x1":20,"y1":32.5}],"hovermode":"closest","showlegend":false},"source":"A","config":{"modeBarButtonsToAdd":["hoverclosest","hovercompare"],"showSendToCloud":false,"displayModeBar":false},"data":[{"x":[5,23,25,40,38,12,9,18,225,27,10,29,52,33,6,19,9,85,37,33,6,75,33,40,28,89,35,42,25,20,9,39,17],"y":["Welsh Revenue Authority","Welsh Government","UK Health Security Agency","Scottish Government (excl. agencies)","Public Health Scotland","Other","Ofqual","Office for Standards in Education, Children's<br>Services and Skills (Ofsted)","Office for National Statistics","Northern Ireland Statistics and Research<br>Agency","Natural England","National Records of Scotland","Ministry of Justice (excl. agencies)","Ministry of Defence","Marine Management Organisation","Home Office (excl. agencies)","Health and Safety Executive","HM Revenue and Customs","Government Actuary's Department","Forestry Commission","Foreign, Commonwealth and Development<br>Office (excl. agencies)","Department of Health and Social Care (excl.<br>agencies)","Department for Work and Pensions","Department for Transport (excl. agencies)","Department for Levelling Up, Housing and<br>Communities","Department for International Trade","Department for Environment, Food and Rural<br>Affairs (excl. agencies)","Department for Education","Department for Digital, Culture, Media<br>and Sport","Department for Business, Energy and Industrial<br>Strategy (excl. agencies)","Defence Science and Technology Laboratory","Centre for Environment, Fisheries and<br>Aquaculture Science","Cabinet Office (excl. agencies)"],"marker":{"color":"#004556","line":{"color":"rgba(31,119,180,1)"}},"orientation":"h","type":"bar","error_y":{"color":"rgba(31,119,180,1)"},"error_x":{"color":"rgba(31,119,180,1)"},"xaxis":"x","yaxis":"y","frame":null}],"highlight":{"on":"plotly_click","persistent":false,"dynamic":false,"selectize":false,"opacityDim":0.2,"selected":{"opacity":1},"debounce":0},"shinyEvents":["plotly_hover","plotly_click","plotly_selected","plotly_relayout","plotly_brushed","plotly_brushing","plotly_clickannotation","plotly_doubleclick","plotly_deselect","plotly_afterplot","plotly_sunburstclick"],"base_url":"https://plot.ly"},"evals":[],"jsHooks":[]}</script>
</div>
<div id="cant-see-your-department" class="section level2">
<h2>Can’t see your department?</h2>
Expand Down

0 comments on commit 619f803

Please sign in to comment.