Explanation please?

CACSVCS - August 6, 2008 - 20:28
Project:Legislature
Version:6.x-0.x-dev
Component:User interface
Category:support request
Priority:critical
Assigned:Unassigned
Status:active
Description

This module doesn't appear to work. Could someone explain to me how to get this to do anything other than download a csv file with a few id tags in it?

#1

gabehamilton - March 27, 2009 - 22:11

The module configuration allows you to set which legislative sessions to work with.
The legislature import is then managed from the Import Manager module.
Administer -> Content Management -> Imports takes you to a screen where you can import data (bills, politicians, etc) into your drupal database.

DISCLAIMER: I just started setting up this module, there is likely a better way to do this.

I set up version 5.x-0.x-dev from 2009-Mar-18 and had to make a few changes to the database to run the 2 imports I have tried.

For Govtrack Bills

  alter table legislature_bill
  change column topic topic text;

For Govtrack Politicians

  alter table legislature_elected_job
  change column is_most_recent is_most_recent tinyint(4) default 0;

  alter table legislature_politician
  change column legis_id legis_id tinyint(4) null,
  change column congresspedia_url congresspedia_url text null,
  change column fec_id fec_id tinyint(4) null;

#2

howards - November 20, 2009 - 03:09

Disclaimer: I'm only using the California leginfo portion of this module, I'm not using the full Thomas/GovTrack features.

One hurdle I found when starting to work with the module was the need to dump drupal's cache (Administer -> Site Configuration -> Performance) to enable import options (from the Import Module). I'd read in the code these options existed and had only stumbled upon them once until spending the time to figure it out. Again, I'm only using the California 2009-2010 imports (which the state of California conveniently provides.)

After enabling the 111th US Congressional session in "Legislatures" (and dumping the drupal cache), it will provide more options in "Administer -> Content -> Imports" section for "GovTrack, Sunlight and Thomas" which give click-button imports. Hopefully, this helps you!

 
 

Drupal is a registered trademark of Dries Buytaert.