Skip to content

Commit

Permalink
Wealth closer to Wealth Tax Commission, exept fixed a HH level.
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamstark committed Sep 5, 2023
1 parent 1efb721 commit 2abdf7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/STBOutput.jl
Original file line number Diff line number Diff line change
Expand Up @@ -681,8 +681,9 @@ const EXTRA_INC_COLS = 18
end
ns = Symbol.(colnames)
select!( sort!(vhh, col), ns... )
# next one not needed??
# average change column - sum of weighted changes (since they're already divided by total popn)
avch = combine( groupby( dhh, [col]),(:weighted_change=>sum))
# ... put av changes in the right order
sort!( avch, col )
vhh."Average Change(£s)" = avch[:,2]
glf = coalesce.( vhh, 0.0)
Expand Down

0 comments on commit 2abdf7d

Please sign in to comment.