Skip to content

Instantly share code, notes, and snippets.

@kahdojay
Created February 8, 2015 03:07
Show Gist options
  • Save kahdojay/42e648d9e141019193d7 to your computer and use it in GitHub Desktop.
Save kahdojay/42e648d9e141019193d7 to your computer and use it in GitHub Desktop.
openPAC code samples
include SeedHelper
include AlgorithmHelper
SeedHelper::LegislatorSeed::insert_basic_legislators
SeedHelper::LegislatorSeed::insert_details
SeedHelper::LegislatorSeed::insert_image_url
SeedHelper::AlgorithmData::create_issues(KEYWORDS)
SeedHelper::AlgorithmData::seed_algorithm_data
AlgorithmHelper::set_stance_values_for_bills
AlgorithmHelper::set_issue_score_for_legislators
AlgorithmHelper::remove_incomplete_data_for_legislators
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment