cfpb / grasshopper

CFPB's streaming batch geocoder
Creative Commons Zero v1.0 Universal
37 stars 13 forks source link

properties.address has "None" for zipcode when ZIPR is null in Census data #214

Open hkeeler opened 8 years ago

hkeeler commented 8 years ago

Here's an example:

  "properties": {
    "RFROMHN":null,
    "source":"census-tiger",
    "RTOHN":null,
    "ZIPL":"10001",
    "FULLNAME":"W 31st St",
    "LFROMHN":"30-0",
    "address":"1234 W 31st St new york NY None",
    "LTOHN":"30-98",
    "ZIPR":null,
    "STATE":"NY"
  }

We need to check both ZIPR and ZIPL since there's no guarantee either will always be populated.