Open lrossouw opened 4 years ago
Same applies to the demand figures.
Hey @lrossouw - thanks for picking this up. That is indeed a bug.
I have checked that when reduce_age = TRUE
you do get the correct totals (i.e. it matches the sum from the correct columns in r$output
).
Will get working on a patch.
P.S. Thank you for the really clear reproducible example.
Have found where this is. Need to call it a night but note to self that odin_sv
will work through each column with reduce_age = FALSE
. For multi compartment summaries like this we need to go through each age column at a time first in order for the data.frame creation on line 214 to work.
I was looking to see how squire priortises beds by age group? I.e. if 100 people of various ages need a bed and I have 10 beds free who gets them?
Any feedback on this?
Getting inconsistent occupancy figures when using
format_output
with and withoutreduce_age
:The occupancies at the bottom should both be 10 353.