Skip to content
Snippets Groups Projects
Commit 5531b13d authored by Ben Anderson's avatar Ben Anderson
Browse files

added stub for n EPC estimates

parent 5ad55282
No related branches found
No related tags found
No related merge requests found
......@@ -172,18 +172,20 @@ sotonEpcMSOA_DT <- sotonPostcodesDT[, .(nEPCs = .N,
]
```
```{r, compareEstimates}
Join the estimates together at MSOA level for comparison. There are `r uniqueN(sotonElecDT$MSOACode)` MSOAs in Southampton.
```{r, compareEpcEstimates}
# 32 LSOAs in Soton
# add deprivation
setkey(sotonElecDT, MSOACode)
setkey(deprivationDT,MSOACode)
setkey(sotonMSOA_DT,MSOACode)
sotonMSOA_DT <- deprivationDT[sotonElecDT]
sotonMSOA_DT <- sotonDep_DT[sotonMSOA_DT]
t <- sotonMSOA_DT[, .(nHouseholds2011 = sum(totalHouseholds),
nElecMeters2018 = sum(METERS),
nEPCs = sum(),
sumMWh = sum(KWH)/1000)]
kableExtra::kable(t, caption = "Comparison of different estimates of the number of dwellings")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment