RPI Calculator
Calculates the NCAA's college basketball Rating Percentage Index (a.k.a., RPI) for a list of teams and games. This uses the current (as of the 2014-15 season) version of the formula that was introduced in the 2004-05 season. It gives more weight to home losses and road wins and less weight to road losses and home wins.
For more information about the RPI, check out Jerry Palm's fantastic RPI FAQ.
Installation
Note: Until the gem is published to RubyGems, you'll need to use the GitHub repository ( https://github.com/crashingthedance/rpi-calculator ) as the source.
Add this line to your application's Gemfile:
gem 'rpi-calculator'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rpi-calculator
Usage
TBD
Contributing
- Fork it ( https://github.com/crashingthedance/rpi-calculator/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request