README.md in fec_results-0.1 vs README.md in fec_results-0.5
- old
+ new
@@ -2,10 +2,12 @@
FecResults is a Ruby library that provides access to federal election results as published by the Federal Election Commission. Although it is primarily a campaign finance disclosure agency, the FEC also compiles election results on its site. This library provides ways to access summary and contest-specific information about elections for the U.S. House of Representatives, the U.S. Senate and President from 2000-2012. This data represents regularly-scheduled primary and general elections, plus special elections held on the date of general elections. It does not include special elections held outside the regularly scheduled election calendar. The results are race-wide only; they do not contain any geographic breakdowns such as county.
Please be aware that there can be typos in some of the FEC results files, mainly in the FEC candidate IDs.
+An accompanying library, [FecResultsGenerator](https://github.com/openelections/fec_results_generator), turns the data retrieved by FecResults into JSON files suitable for creating a static API. You can browse this API from the [docs site](http://openelections.github.io/fec_results/).
+
## Installation
Add this line to your application's Gemfile:
gem 'fec_results'
@@ -48,10 +50,9 @@
c = FecResults::Congress.new(:year => 2012)
results = c.results({:state => 'AL'})
results.first
=> <FecResults::Result:0x007fb46e297870 @year=2012, @chamber="H", @state="AL", @district="01", @fec_id="H2AL01077", @incumbent=true, @candidate_last="Bonner", @candidate_first="Jo", @candidate_name="Bonner, Jo", @party="R", @primary_votes=48702, @primary_pct=55.54959907839358, @primary_unopposed=false, @runoff_votes=nil, @runoff_pct=nil, @general_votes=196374, @general_pct=97.85624588889553, @general_unopposed=false, @general_runoff_votes=nil, @general_runoff_pct=nil, @general_combined_party_votes=nil, @general_combined_party_pct=nil, @general_winner=true, @notes=nil>
```
-
## Contributing