From 643741cfe90c81e97b45f7c78c01cffd2bae3714 Mon Sep 17 00:00:00 2001 From: Graham Stark Date: Thu, 28 Nov 2024 19:32:56 +0000 Subject: [PATCH] ladata --- scripts/parse-scottish-census.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/parse-scottish-census.jl b/scripts/parse-scottish-census.jl index 52a786ba..2ba923cd 100644 --- a/scripts/parse-scottish-census.jl +++ b/scripts/parse-scottish-census.jl @@ -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;