question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rural Route not parsed correctly

See original GitHub issue

The address H E BROWN RR 3 BOX 9 CANTON OH 44730-9521 (grabbed from pp 51 of http://pe.usps.com/cpim/ftp/pubs/Pub28/pub28.pdf) doesn’t parse correctly

Address part Tag
H AddressNumber
E StreetNamePreDirectional
BROWN StreetName
RR StreetNamePostType
3 OccupancyIdentifier
BOX USPSBoxType
9 USPSBoxID
CANTON PlaceName
OH StateName
44730-9521 ZipCode

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jeancochranecommented, Dec 19, 2016

Fixed in v0.5.8.

New behavior:

In [5]: usaddress.parse('H E BROWN RR 3 BOX 9 CANTON OH 44730-9521')
Out[5]:
[('H', 'Recipient'),
 ('E', 'Recipient'),
 ('BROWN', 'Recipient'),
 ('RR', 'USPSBoxGroupType'),
 ('3', 'USPSBoxGroupID'),
 ('BOX', 'USPSBoxType'),
 ('9', 'USPSBoxID'),
 ('CANTON', 'PlaceName'),
 ('OH', 'StateName'),
 ('44730-9521', 'ZipCode')]

Get the latest release via pip:

pip install --upgrade usaddress
0reactions
nate-double-ucommented, Dec 25, 2016

Thanks for doing this @jeancochrane!

Read more comments on GitHub >

github_iconTop Results From Across the Web

USPS Headquarters delays rural route adjustments until after ...
As of today, we have successfully mapped over 97% of our rural routes in the ... No other routes are authorized to be...
Read more >
Driving the Rural Delivery Route
Hi I've been working six days a week for over three years and I am totally burned out. I became a regular carrier...
Read more >
Why Is My Address Not Valid and How to Verify It? - PostGrid
As a result of address parsing, it becomes easier to fill or correct the relevant data that may not be possible by using...
Read more >
Handbook PO-603 - Rural Carrier Duties and Responsibilities
If a USPS-owned/leased vehicle is assigned to the route, you may be requested, but not required, to furnish a vehicle during emergency ...
Read more >
RCA needs help with evaluated time. - Postal Employees
I am confused and ticked off that not working that less than 30 minutes ... that lunches are not included in to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found