Skip to content

Commit

Permalink
ladata
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamstark committed Nov 28, 2024
1 parent 072a975 commit 643741c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/parse-scottish-census.jl
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ function weight_to_la(
code :: AbstractString,
num_households :: Int )
targets = make_target_list( alldata, code )
hhtotal = alldata[alldata.code .== code,:][1,:]."Household composition: Total; measures: Value"
hhtotal = alldata[alldata.Authority .== code,:][1,:]."Household composition: Total; measures: Value"
println( "calculating for $code; hh total $hhtotal")
weights = generate_weights(
num_households;
Expand Down

0 comments on commit 643741c

Please sign in to comment.