there is a check in f.npafp.rate.01() to make sure GUIDs are from the same country. dist.pop() doesn't contain adm0guid but rather adm1guid, ctry, prov. ctry and prov are present in afp.all.2. Would need to modify f.npafp.rate.01() to check the prov, ctry, and dist columns as appropriate.
there is a check in f.npafp.rate.01() to make sure GUIDs are from the same country. dist.pop() doesn't contain
adm0guid
but rather adm1guid, ctry, prov. ctry and prov are present in afp.all.2. Would need to modify f.npafp.rate.01() to check the prov, ctry, and dist columns as appropriate.