nish-kishore / sirfunctions

Key functions used by the SIR team
Other
0 stars 0 forks source link

f.npafp.rate.01() does not run using dist.pop() from country data #89

Closed mcuadera closed 6 months ago

mcuadera commented 6 months ago

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.