Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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']