Sha256: 6fc75deeccabfd57c9bb03630bcaa980478df179566c16abf2f818041335c527
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
# DC Address Parser *Parses and normalizes Washington, DC street addresses according to the DC Master Address Repository (MAR) standard.* [](https://travis-ci.org/benbalter/dc-address-parser) ## Usage ```ruby address = DcAddressParser.parse "123 main st n.w." address.number => 123 address.street_name => "MAIN" address.street_type => "STREET" address.quadrant => "NW" address.to_s "123 MAIN STREET NW" ``` ## Address standard The Gem conforms to the [DC Master Address Repository (MAR) address standard](http://octo.dc.gov/sites/default/files/dc/sites/octo/publication/attachments/DCGIS-MarAddressStandards.pdf). You can learn more about the MAR in the [MAR FAQ](http://octo.dc.gov/sites/default/files/dc/sites/octo/publication/attachments/DCGIS-MarFAQ.pdf). ## Looking up addresses in the MAR The Gem integrates with the [DC Address Lookup](https://github.com/benbalter/dc-address-lookup) gem. To look up an address in the MAR: ```ruby address.lookup => #<DcAddressLookup::Location> ``` ## Installing 1. Add `gem 'dc_address_parser'` to your project's Gemfile 2. `bundle install`
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dc_address_parser-0.1.2 | README.md |
dc_address_parser-0.1.1 | README.md |
dc_address_parser-0.1.0 | README.md |