diff --git a/docs/index.html b/docs/index.html index dc4cbb1..47aa2fb 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1651,17 +1651,15 @@ // communication between the widget and direct manipulation events if (x.selectize) { var selectizeID = Object.keys(x.selectize)[i]; - var options = x.selectize[selectizeID]; + var items = x.selectize[selectizeID].items; var first = [{value: "", label: "(All)"}]; - var opts = $.extend({ - options: first.concat(options.items), - searchField: "label", - valueField: "value", - labelField: "label", - maxItems: 50 - }, - options - ); + var opts = { + options: first.concat(items), + searchField: "label", + valueField: "value", + labelField: "label", + maxItems: 50 + }; var select = $("#" + selectizeID).find("select")[0]; var selectize = $(select).selectize(opts)[0].selectize; // NOTE: this callback is triggered when *directly* altering @@ -2372,7 +2370,7 @@

Welcome

department. CARS is our annual survey on the use of code in government analysis. You can see the 2022 results in our online publication.

-

This year we hope to get over 1,500 responses. So far, we’ve got 353 +

This year we hope to get over 1,500 responses. So far, we’ve got 376 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 @@ -2406,7 +2404,7 @@

Responses by department

#coding-freq-table {display: none;}
@@ -2423,7 +2421,11 @@

Responses by department

- + + + + + @@ -2451,25 +2453,29 @@

Responses by department

- + - + + + + + - +
Department for Education (excl. agencies) 7 15
Department for Energy Security & Net Zero 5
Department for Environment, Food and Rural Affairs (excl. agencies)
Ministry of Justice (excl. agencies) 31 34
Office for National Statistics 136 138
Other 5
UK Health Security Agency 8
a Sample size = 353a Sample size = 376
- +

Can’t see your department?

diff --git a/main.R b/main.R index c3e2518..868afb8 100644 --- a/main.R +++ b/main.R @@ -3,8 +3,3 @@ source("R/data_cleaning.R") source("R/plot.R") rmarkdown::render("rmarkdown/index.rmd", output_file = "../docs/index.html") - -gert::git_branch_checkout("main") -gert::git_add("docs/") -gert::git_commit("Latest data", author = "Jacob ") -gert::git_push()