I'm programming a matching list for street addresses, and I'm trying to prioritize different aspects of the address based on likelihood of similarity if both addresses are the same physical location. I'm allowing for the zip code to be in any physically contiguous zip code (that doesn't cross a state line) and still be considered a match, but this is where the problem starts.
The first digit of the zip code is obviously a very high priority, but beyond that, I have no idea what the maximum difference is between physically contiguous zip codes within the same state, and not including weird outliers like the IRS zip code. If there are, say 94000 next to 95000, then I need to de-prioritize the second through fifth zip code digits. If, however, the largest difference is 94100 to 94200, I only need to de-prioritize the third through fifth digits.
Any idea of either the answer or how I could go about finding this out?