From 369c3f25b3ba3d7c0a0e7610de8a66076cf5f376 Mon Sep 17 00:00:00 2001 From: Graham Stark Date: Tue, 5 Sep 2023 20:45:42 +0100 Subject: [PATCH] Wealth closer to Wealth Tax Commission, exept fixed a HH level. --- src/STBOutput.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/STBOutput.jl b/src/STBOutput.jl index cdfcd102..d38bce20 100644 --- a/src/STBOutput.jl +++ b/src/STBOutput.jl @@ -682,7 +682,7 @@ const EXTRA_INC_COLS = 18 ns = Symbol.(colnames) select!( sort!(vhh, col), ns... ) # next one not needed?? - glf."Average Change(£s)" = combine(groupby( dhh, [col]),(:weighted_change=>sum))[:,2] + vhh."Average Change(£s)" = combine(groupby( dhh, [col]),(:weighted_change=>sum))[:,2] glf = coalesce.( vhh, 0.0) # add an average change column return glf