Git Product home page Git Product logo

utahleg-scrub's Introduction

UtahLeg-scrub

Tool for the League of Women Voters of Utah to collect data from the Utah Legistature web site

Installation

Windows

To install Ruby go to rubyinstaller.org and use the windows installer Ruby 1.9.3-p448. All the of the Ruby gems are up-to-date with this install Do the default install

To install Ruby DevKit go to rubyinstaller.org and install DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe.

From the Ruby command line run the following

gem install selenium-webdriver gem install watir-webdriver gem install google_drive

That is everything that is needed to run the ruby script.

Execution

This scrub executable is only good for the 2014 legislative year. The Utah Legislative web developers changed the design of the pages this year. Place the Template and LoWV data spreadsheets in the base directory of the google drive.
Convert them to google docs. The template and LoWV Data spreadsheets need to be accessable through the gmail account provided

To run the script

ruby scrub2014.rb

If the script fails with GoogleDrive::AuthenticationError then the gmail username/password failed

utahleg-scrub's People

Contributors

katie-snow avatar

Watchers

 avatar

utahleg-scrub's Issues

Fix defeated house bill check

Currently commented out functionality. Was using the current position and Clerk of the House to say that the bill is defeated. This doesn't work during an active session.

Add Reading Calendar Information

In the current location of the bill, if the bill is in one of the reading calendars then place what location (#) after the current location within the same cell

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.