diff --git a/pipelines/vacant-homes/areas.ipynb b/pipelines/vacant-homes/areas.ipynb
index 66ca29b..1bb85de 100644
--- a/pipelines/vacant-homes/areas.ipynb
+++ b/pipelines/vacant-homes/areas.ipynb
@@ -40,9 +40,9 @@
"latest_year = data.Year.max()\n",
"\n",
"dwellings_slice = data.loc[(data['Measure']=='Dwellings') & (data['Value'].notna())]\n",
- "dwellings_group = dwellings_slice.groupby(['AreaCode'])\n",
+ "dwellings_group = dwellings_slice.groupby(['geography_code'])\n",
"dwellings_latest_years = dwellings_group.Year.max()\n",
- "dwellings_names = dwellings_group.AreaName.last().str.strip()"
+ "dwellings_names = dwellings_group.geography_name.last().str.strip()"
]
},
{
@@ -52,7 +52,7 @@
"outputs": [],
"source": [
"vacants_slice = data.loc[(data['Measure']=='AllVacants') & (data['Value'].notna())]\n",
- "vacants_group = vacants_slice.groupby(['AreaCode'])\n",
+ "vacants_group = vacants_slice.groupby(['geography_code'])\n",
"vacants_latest_years = vacants_group.Year.max()\n",
"codes_not_in_dwellings = []\n",
"for code in vacants_latest_years.index.unique():\n",
@@ -102,7 +102,7 @@
"
name | \n",
" \n",
" \n",
- " AreaCode | \n",
+ " geography_code | \n",
" | \n",
" | \n",
" | \n",
@@ -193,33 +193,33 @@
""
],
"text/plain": [
- " dwellingsLastPublished vacantsLastPublished active \\\n",
- "AreaCode \n",
- "E06000001 2023 2023.0 True \n",
- "E06000002 2023 2023.0 True \n",
- "E06000003 2023 2023.0 True \n",
- "E06000004 2023 2023.0 True \n",
- "E06000005 2023 2023.0 True \n",
- "... ... ... ... \n",
- "E12000006 2023 2023.0 True \n",
- "E12000007 2023 2023.0 True \n",
- "E12000008 2023 2023.0 True \n",
- "E12000009 2023 2023.0 True \n",
- "E92000001 2023 2023.0 True \n",
+ " dwellingsLastPublished vacantsLastPublished active \\\n",
+ "geography_code \n",
+ "E06000001 2023 2023.0 True \n",
+ "E06000002 2023 2023.0 True \n",
+ "E06000003 2023 2023.0 True \n",
+ "E06000004 2023 2023.0 True \n",
+ "E06000005 2023 2023.0 True \n",
+ "... ... ... ... \n",
+ "E12000006 2023 2023.0 True \n",
+ "E12000007 2023 2023.0 True \n",
+ "E12000008 2023 2023.0 True \n",
+ "E12000009 2023 2023.0 True \n",
+ "E92000001 2023 2023.0 True \n",
"\n",
- " name \n",
- "AreaCode \n",
- "E06000001 Hartlepool \n",
- "E06000002 Middlesbrough \n",
- "E06000003 Redcar and Cleveland \n",
- "E06000004 Stockton-on-Tees \n",
- "E06000005 Darlington \n",
- "... ... \n",
- "E12000006 East of England \n",
- "E12000007 London \n",
- "E12000008 South East \n",
- "E12000009 South West \n",
- "E92000001 England \n",
+ " name \n",
+ "geography_code \n",
+ "E06000001 Hartlepool \n",
+ "E06000002 Middlesbrough \n",
+ "E06000003 Redcar and Cleveland \n",
+ "E06000004 Stockton-on-Tees \n",
+ "E06000005 Darlington \n",
+ "... ... \n",
+ "E12000006 East of England \n",
+ "E12000007 London \n",
+ "E12000008 South East \n",
+ "E12000009 South West \n",
+ "E92000001 England \n",
"\n",
"[381 rows x 4 columns]"
]
diff --git a/src/data/areas/place-page/_data/areas.json b/src/data/areas/place-page/_data/areas.json
index 3709a68..18af523 100644
--- a/src/data/areas/place-page/_data/areas.json
+++ b/src/data/areas/place-page/_data/areas.json
@@ -1005,7 +1005,7 @@
"dwellingsLastPublished":2023,
"vacantsLastPublished":2023,
"active":true,
- "name":"Folkestone and Hythe [note 7]"
+ "name":"Folkestone and Hythe"
},
"E07000113":{
"dwellingsLastPublished":2023,
@@ -1557,7 +1557,7 @@
"dwellingsLastPublished":2019,
"vacantsLastPublished":2018,
"active":false,
- "name":"St. Edmundsbury"
+ "name":"St Edmundsbury"
},
"E07000205":{
"dwellingsLastPublished":2019,
@@ -1773,7 +1773,7 @@
"dwellingsLastPublished":2023,
"vacantsLastPublished":2023,
"active":true,
- "name":"St. Albans"
+ "name":"St Albans"
},
"E07000241":{
"dwellingsLastPublished":2023,
@@ -1887,7 +1887,7 @@
"dwellingsLastPublished":2023,
"vacantsLastPublished":2023,
"active":true,
- "name":"St Helens"
+ "name":"St. Helens"
},
"E08000014":{
"dwellingsLastPublished":2023,
@@ -2433,37 +2433,37 @@
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"Greater Manchester (Met County)"
+ "name":"Greater Manchester"
},
"E11000002":{
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"Merseyside (Met County)"
+ "name":"Merseyside"
},
"E11000003":{
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"South Yorkshire (Met County)"
+ "name":"South Yorkshire"
},
- "E11000004":{
+ "E11000005":{
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"Tyne and Wear (Met County)"
+ "name":"West Midlands"
},
- "E11000005":{
+ "E11000006":{
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"West Midlands (Met County)"
+ "name":"West Yorkshire"
},
- "E11000006":{
+ "E11000007":{
"dwellingsLastPublished":2023,
"vacantsLastPublished":null,
"active":true,
- "name":"West Yorkshire (Met County)"
+ "name":"Tyne and Wear"
},
"E12000001":{
"dwellingsLastPublished":2023,