cfpb/grasshopper

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

Opened this issue · 0 comments

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.