Missing zipcodes
There are over 6000 missing US zipcodes in the database. What are the sources? Many of the missing are in Washington, D.C. but another (17270) is in Pennsylvania.
zipcode.isequal('20001').zip
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-70-58347e736241> in <module>()
----> 1 zipcode.isequal('23001').zip
AttributeError: 'NoneType' object has no attribute 'zip'
Thanks for letting me know Avi. The zipcodes are taken from a csv released on a governement website around 2006 I think so it is quite out of date and I am not surprised it is missing zip codes. I can send you the csv if you like. Do you have another source to build the database from that would be better?
I haven't looked at this for a while, but I'd like to update it so that it works for all zipcodes if I can.
Hi Max,
I was surprised not to find a standard python module to fetch zipcode information and liked yours and your documentation. Another package, pyzipcode, uses 2004 data. Actually, reading more carefully, the change log says it uses an updated API for zips. I only needed a city name associated with the zipcode and I found sufficient data for download at http://www.unitedstateszipcodes.org/.
Cheers, Avi
On Mon, Jan 11, 2016 at 4:08 PM, Max Buck [email protected] wrote:
Thanks for letting me know Avi. The zipcodes are taken from a csv released on a governement website around 2006 I think so it is quite out of date and I am not surprised it is missing zip codes. I can send you the csv if you like. Do you have another source to build the database from that would be better?
I haven't looked at this for a while, but I'd like to update it so that it works for all zipcodes if I can.
— Reply to this email directly or view it on GitHub https://github.com/buckmaxwell/zipcode/issues/1#issuecomment-170690201.
Just as an FYI buckmaxwell, I found some missing ones also. I went with a different package that had the few I couldnt find, but I liked this package. Saying this so that you know that people are looking at this package.
I found a missing one: 54901
For zipcodes csv file, what fields of info do you need for zip code?
post the source of the input file and I can try to make an updater function.
There is a similar lib in R: https://cran.r-project.org/web/packages/zipcode/ It uses csv file from http://federalgovernmentzipcodes.us/ This source claims that the data was updated in 2012.
A lot of people seem to use this package and it would be nice to be able to keep it up to date. I'll see what I can do over the next few days to get it updated.
FYI I get zero results for:
zipcode.islike('60')
Which is most/all of Chicago.
I see you're working on it, so not trying to pile on, just a friendly heads up. Other than that I think the package is great, thanks!
To add to the test suite, most or all of NC is missing as well --
zipcode.islike("27") and zipcode.islike("28")
For Indian ZIP codes... in major cities also it shows couldn't find zip code. Is there any other similar libraries which provides all the updated zip codes...
@ibrahim-appgodz , right now only zipcodes in usa are supported. If you have a source where I can find Indian zipcode information perhaps we can update the package.
Hello all, if anyone is interested in being part of development for the next major version of this please let me know - I can add you to our slack channel. A lot of people use this project and I'd like for it to be up to date and reliable very soon :D
Max
On Fri, Jun 30, 2017 at 9:28 AM, Mohamed Ibrahim [email protected] wrote:
For Indian ZIP codes... in major cities also it shows couldn't find zip code. Is there any other similar libraries which provides all the updated zip codes...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/buckmaxwell/zipcode/issues/1#issuecomment-312267094, or mute the thread https://github.com/notifications/unsubscribe-auth/AF7DlF5nbhTdUaDkOrF8MxlwDcUatdrKks5sJPgOgaJpZM4HCoR- .
Those interested, please send me an email at [email protected]
Thanks, Max
On Fri, Jul 28, 2017 at 1:36 PM, Max Buck [email protected] wrote:
Hello all, if anyone is interested in being part of development for the next major version of this please let me know - I can add you to our slack channel. A lot of people use this project and I'd like for it to be up to date and reliable very soon :D
Max
On Fri, Jun 30, 2017 at 9:28 AM, Mohamed Ibrahim <[email protected]
wrote:
For Indian ZIP codes... in major cities also it shows couldn't find zip code. Is there any other similar libraries which provides all the updated zip codes...
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/buckmaxwell/zipcode/issues/1#issuecomment-312267094, or mute the thread https://github.com/notifications/unsubscribe-auth/AF7DlF5nbhTdUaDkOrF8MxlwDcUatdrKks5sJPgOgaJpZM4HCoR- .
How about using this: http://federalgovernmentzipcodes.us/ ? It seems to be well curated by people knowing a thing about stats.
Thanks for the tip.. I will look into this
On Aug 17, 2017 8:20 AM, "Szymon Jachim" [email protected] wrote:
How about using this: http://federalgovernmentzipcodes.us/ ? It seems to be well curated by people knowing a thing about stats.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/buckmaxwell/zipcode/issues/1#issuecomment-323056004, or mute the thread https://github.com/notifications/unsubscribe-auth/AF7DlGm_fL8b6AwcU9OWX6VM-uVK-Fqxks5sZC_6gaJpZM4HCoR- .
we finally have an update to this issue. zipcodes in 3.0.0 are up to date. There is also a way (described in the README.md) to keep the zip database up to date by running a monthly cron job.