Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raypereda/fips-county-codes
A Ruby gem that provides two hashes for converting between state and county pairs to FIPS codes.
https://github.com/raypereda/fips-county-codes
fips fips-180-4 voter voter-file voters
Last synced: 1 day ago
JSON representation
A Ruby gem that provides two hashes for converting between state and county pairs to FIPS codes.
- Host: GitHub
- URL: https://github.com/raypereda/fips-county-codes
- Owner: raypereda
- License: mit
- Created: 2013-04-17T19:56:56.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-15T07:25:38.000Z (over 7 years ago)
- Last Synced: 2024-10-31T13:45:17.595Z (16 days ago)
- Topics: fips, fips-180-4, voter, voter-file, voters
- Language: Ruby
- Homepage: https://rubygems.org/gems/fips-county-codes
- Size: 32.2 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
- License: LICENSE.txt
Awesome Lists containing this project
README
= fips-county-codes
To use:
require "fips_county_codes"These test cases show the usage:
* FipsCountyCodes::FIPS['CA']['Los Angeles'].should == 6037
* FipsCountyCodes::FIPS['CA']['Los Angeles County'].should == 6037
* FipsCountyCodes::STATE_COUNTY[6037].should == ['CA', 'Los Angeles County']