Sunshine only starts in 1929 so the sunshine table has fewer rows.
Now extract relevant data. We have [Met Office data](http://www.metoffice.gov.uk/climate/uk/summaries/datasets) up to 2016 but we only have CEH reconstructed drough thistories form 1994.
> Why are we just using East Anglia? One catchment is in Sussex so don't we want more data...?
As a result we have `r n_mon` momths of historical met office data with which to work.
## Import multivariate linear regression coefficients
Next we import the regression coefficients from Parker's thesis [@parkerThesis2014] Table A.3 & Table A.4 (p221-222) - we use these to update the water demand according to occupancy and climate variables. Note that non-statistically significant values are set to zero and we do not use all of these coefficients in the models that follow.
kable(caption = "Regression coefficients for use in adjusting mcm values (first 15 rows, metered data)",
mlmDataDT
)
```
> NB: how could we use the SMD coefficient in drought response modelling? Can we convert the CEH drought histories to SMD in some way? Table 5.8 (p137) in Parker's these susggests an affect for SMD beyond just temp & rainfall?
```{r processMlmCoeffs}
# The next step is to set up the occupancy and other adjustment tables based on Parker's regression coefficiencts.
kable(caption = "Summary of mean daily litres per household with different occupancy levels (EST, 2013, imputed dta using assumptions and survey of unknown bias)",