Skip to content

Commit d722feb

Browse files
committed
Fixed data issue.
1 parent 4696eb3 commit d722feb

4 files changed

Lines changed: 29 additions & 29 deletions

File tree

data/odas.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,23 @@
44
{
55
"name":"Foreign, Commonwealth and Development Office",
66
"year":"2023",
7-
"value": 2954,
8-
"percentage": 19.30,
7+
"value": 9491,
8+
"percentage": 61.90,
99
"shortName": "FCDO",
1010
"note": "This figure is calculated by summing the those for the recently combined Department for International Development (DFID) and Foreign and Commonwealth Office (FCO) to reflect the new department. The source data describes these institutions separately."
1111
}
1212
],
13+
"HO":
14+
[
15+
{
16+
"name":"Home Office",
17+
"year":"2023",
18+
"value": 2954,
19+
"percentage": 19.30,
20+
"shortName": "Home Office",
21+
"note": ""
22+
}
23+
],
1324
"DH":
1425
[
1526
{
@@ -112,7 +123,7 @@
112123
"DCMS":
113124
[
114125
{
115-
"name":"Department for Digital, Culture, Media and Sports",
126+
"name":"Department for Culture, Media and Sport",
116127
"year":"2023",
117128
"value": 10,
118129
"percentage": 0.1,
@@ -157,31 +168,20 @@
157168
[
158169
{
159170
"name":"Department for Business, Energy and Industrial Strategy",
160-
"year":"2021",
161-
"value": 929,
162-
"percentage": 8.1,
171+
"year":"2023",
172+
"value": 0,
173+
"percentage": 0,
163174
"shortName": "BEIS",
164175
"note": ""
165176
}
166177
],
167-
"HO":
168-
[
169-
{
170-
"name":"Home Office",
171-
"year":"2021",
172-
"value": 915,
173-
"percentage": 8.0,
174-
"shortName": "Home Office",
175-
"note": ""
176-
}
177-
],
178178
"CO":
179179
[
180180
{
181181
"name":"Cabinet Office",
182-
"year":"2021",
183-
"value": 108,
184-
"percentage": 0.9,
182+
"year":"2023",
183+
"value": 0,
184+
"percentage": 0,
185185
"shortName": "CO",
186186
"note": ""
187187
}
@@ -190,9 +190,9 @@
190190
[
191191
{
192192
"name":"Cross-Government Prosperity Fund",
193-
"year":"2021",
194-
"value": 53,
195-
"percentage": 0.5,
193+
"year":"2023",
194+
"value": 0,
195+
"percentage": 0,
196196
"shortName": "CGPF",
197197
"note": ""
198198
}
@@ -201,8 +201,8 @@
201201
[
202202
{
203203
"name":"Department of International Trade",
204-
"year":"2021",
205-
"value": 0.4,
204+
"year":"2023",
205+
"value": 0,
206206
"percentage": 0.0,
207207
"shortName": "DIT",
208208
"note": ""

data/participatingOrgList.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@
12641264
"Name": "Department for Business, Innovation and Skills"
12651265
}, {
12661266
"Code": "GB-GOV-12",
1267-
"Name": "Department for Culture, Media and Sports"
1267+
"Name": "Department for Culture, Media and Sport"
12681268
}, {
12691269
"Code": "GB-GOV-2",
12701270
"Name": "HM Treasury"

views/department/department.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ title: Development Tracker
7676
<div class="app-logo" data-dept="DCMS">
7777
<div class="app-logo__department dcms">
7878
<img src="/assets/images/govuk-crest.svg" class="app-logo__department--logo" />
79-
<span class="app-logo__department--name govuk-body-xs">Department for Digital, Culture, Media and Sport</span>
79+
<span class="app-logo__department--name govuk-body-xs">Department for Culture, Media and Sport</span>
8080
</div>
8181
</div>
8282
<div class="app-logo" data-dept="DH">
@@ -132,7 +132,7 @@ title: Development Tracker
132132
<% end %>
133133
</tbody>
134134
</table>
135-
<p class="govuk-body">Source: <a target="blank" class="govuk-link" href="https://www.gov.uk/government/collections/statistics-on-international-development">Statistics on International Development</a></span>
135+
<p class="govuk-body">Source: <a target="blank" class="govuk-link" href="https://www.gov.uk/government/collections/statistics-on-international-development#-statistics-on-international-development:-aid-spend-2023">Statistics on International Development 2023</a></span>
136136
</div>
137137
</div>
138138

views/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ layout: cw_landing
165165
<div class="govuk-grid-column-full">
166166
<div class="app-card app-top10-departments">
167167
<h4 class="govuk-heading-m">Top 10 departments</h4>
168-
<p class="govuk-body-s app-card__intro">UK ODA spend by government department </p>
168+
<p class="govuk-body-s app-card__intro">UK ODA spend by government department (<a style="font-size: 12px" target="_BLANK" href="https://www.gov.uk/government/collections/statistics-on-international-development#-statistics-on-international-development:-aid-spend-2023">Source, Statistics on International Development 2023</a>) </p>
169169
<% odas.each do |oda| %>
170170
<div class="app-top10-department">
171171
<%if oda[0]=='PF' || oda[0]=='CSSF' || oda[0]=='MHCLG' || oda[0]=='HMRC' %>

0 commit comments

Comments
 (0)