usaddress icon indicating copy to clipboard operation
usaddress copied to clipboard

Handling a directional in an Apt/Unit number

Open rosskell opened this issue 5 years ago • 0 comments

This is parsing very nicely for the most part but not when there is a directional in the Unit/Apt number.

355 8TH AVE APT 15E NewYork NY 10001

Number: 355 Street: 8TH AVE APT 15 PostDirectional: E SecondaryNumber: SecondaryUnit: Suffix:

Swap the Apt to 15F and it works great NSEW all get munged. I am not smart enough to figure out the regex to fix that.

--

rosskell avatar Feb 11 '20 00:02 rosskell