populationsim
populationsim copied to clipboard
Generate sequential IDs
Having long household IDs or geographic IDs can possible result in an error. Simple solution is to pre-process inputs to inlcude sequential IDs. Perhaps PopulationSim can generate sequential IDs on the fly.
My preferred solution would be to have populationsim tread HH ids as character strings. Person ids make sense as numbers, but HH ids are just names (like the Bettinardi household). There should be no reason that the software needs to treat them as characters - at least no reason I can think of.
Internal renaming can work, and is likely a cheaper (faster) option, but that feels like a solution that is more likely to create or mask errors. My strong preference would be to treat HH ids as names and not care how long the name is (within reason, maybe set the character string length at 255, or less).
My add on comment to make hh ids names is probably overkill. For Phase 9, perhaps there could be a low level effort to add sequential IDs generated on the fly under Phase 9.