:Test poll

From Electowiki
Revision as of 23:23, 23 February 2007 by Abracadabra (talk)

Jump to: navigation, search

{

 version: "0.1",
 description: "This mock election has the nominated candidates for U.S. President from all major and most ballot-qualified minor candiates from 2000 and 2004, in addition to the major candidates vying for the Democratic and Republican nominations in 2000 and 2004.  If you would like to play around with the parameters of this election, please visit this page's editable counterpart",
 features: 
 {
    party:
    {
      display_name: "Party",
      url_field: "party_url"
    },
    state:
    {
      display_name: "From State",
      url_field: "state_url"
    }
 },
 display_parameters: true,
 display_results: true,
 count_subpage_ballots: true,
 election_methods: 
 [
  {type: 'schulze-wv'},
  {type: 'dmc'},
  {type: 'approval'}
 ],
 allow_voting: true,
 ballot_type: "barscale",
 max_rating: 100,
 min_rating: -100,
 radioarray_labels: 
 {
    "-2": "Strongly Disapprove",
    "-1": "Somewhat Disapprove",
    0: "Neutral (not approved)",
    1: "Somewhat Approve",
    2: "Strongly Approve"
 },
 barscale_tickpx: 2,
 candidates:
 {
   Alexander:
   {
     display_name: "Lamar Alexander",
     sort_key: "Alexander",
     party: "Republican",
     state: "Tennessee",
     candidate_url: "http://en.wikipedia.org/wiki/Lamar_Alexander",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Badnarik:
   {
     display_name: "Michael Badnarik",
     sort_key: "Badnarik",
     party: "Libertarian",
     candidate_url: "http://en.wikipedia.org/wiki/Michael_Badnarik",
     party_url: "http://en.wikipedia.org/wiki/United_States_Libertarian_Party"
   },
   Bauer:
   {
     display_name: "Gary Bauer",
     sort_key: "Bauer",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Gary_Bauer",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Bradley:
   {
     display_name: "Bill Bradley",
     sort_key: "Bradley",
     party: "Democrat",
     state: "New Jersey",
     candidate_url: "http://en.wikipedia.org/wiki/Bill_Bradley",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Browne:
   {
     display_name: "Harry Browne",
     sort_key: "Browne",
     party: "Libertarian",
     candidate_url: "http://en.wikipedia.org/wiki/Harry_Browne",
     party_url: "http://en.wikipedia.org/wiki/United_States_Libertarian_Party"
   },
   Buchanan:
   {
     display_name: "Pat Buchanan",
     sort_key: "Buchanan",
     party: "Reform",
     state: "Virginia",
     candidate_url: "http://en.wikipedia.org/wiki/Patrick_J._Buchanan",
     party_url: "http://en.wikipedia.org/wiki/United_States_Reform_Party"
   },
   Bush:
   {
     display_name: "George Bush",
     sort_key: "Bush",
     party: "Republican",
     state: "Texas",
     candidate_url: "http://en.wikipedia.org/wiki/George_W._Bush",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Clark:
   {
     display_name: "Wesley Clark",
     sort_key: "Clark",
     party: "Democrat",
     state: "Arkansas",
     state_url: "http://en.wikipedia.org/wiki/Arkansas",
     candidate_url: "http://en.wikipedia.org/wiki/Wesley_Clark",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Cobb:
   {
     display_name: "David Cobb",
     sort_key: "Cobb",
     party: "Green",
     candidate_url: "http://en.wikipedia.org/wiki/David_Cobb",
     party_url: "http://en.wikipedia.org/wiki/United_States_Green_Party"
   },
   Dean:
   {
     display_name: "Howard Dean",
     sort_key: "Dean",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Howard_Dean",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Dole:
   {
     display_name: "Elizabeth Dole",
     sort_key: "Dole",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Elizabeth_Dole",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Edwards:
   {
     display_name: "John Edwards",
     sort_key: "Edwards",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/John_Edwards",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Forbes:
   {
     display_name: "Steve Forbes",
     sort_key: "Forbes",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Steve_Forbes",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Gephardt:
   {
     display_name: "Dick Gephardt",
     sort_key: "Gephardt",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Richard_Gephardt",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Gore:
   {
     display_name: "Al Gore",
     sort_key: "Gore",
     party: "Democrat",
     state: "Tennessee",
     candidate_url: "http://en.wikipedia.org/wiki/Al_Gore",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Graham:
   {
     display_name: "Bob Graham",
     sort_key: "Graham",
     party: "Democrat",
     state: "Florida",
     candidate_url: "http://en.wikipedia.org/wiki/Bob_Graham",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Hagelin:
   {
     display_name: "John Hagelin",
     sort_key: "Hagelin",
     party: "Natural Law / Reform",
     candidate_url: "http://en.wikipedia.org/wiki/John_Hagelin",
     party_url: "http://en.wikipedia.org/wiki/John_Hagelin"
   },
   Hatch:
   {
     display_name: "Orrin Hatch",
     sort_key: "Hatch",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Orrin_Hatch",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Kasich:
   {
     display_name: "John Kasich",
     sort_key: "Kasich",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/John_Kasich",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Kerry:
   {
     display_name: "John Kerry",
     sort_key: "Kerry",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/John_Kerry",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Keyes:
   {
     display_name: "Alan Keyes",
     sort_key: "Keyes",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Alan_Keyes",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Kucinich:
   {
     display_name: "Dennis Kucinich",
     sort_key: "Kucinich",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Dennis_Kucinich",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Lieberman:
   {
     display_name: "Joe Lieberman",
     sort_key: "Lieberman",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Joseph_Lieberman",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   McCain:
   {
     display_name: "John McCain",
     sort_key: "McCain",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/John_McCain",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Moseley_Braun:
   {
     display_name: "Carol Moseley Braun",
     sort_key: "Moseley Braun",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Carol_Moseley_Braun",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   },
   Nader:
   {
     display_name: "Ralph Nader",
     sort_key: "Nader",
     party: "Reform , (Independent)",
     candidate_url: "http://en.wikipedia.org/wiki/Ralph_Nader",
     party_url: "http://en.wikipedia.org/wiki/Ralph_Nader"
   },
   Peroutka:
   {
     display_name: "Michael Peroutka",
     sort_key: "Peroutka",
     party: "Constitution",
     candidate_url: "http://en.wikipedia.org/wiki/Michael_Peroutka",
     party_url: "http://en.wikipedia.org/wiki/United_States_Constitution_Party"
   },
   Phillips:
   {
     display_name: "Howard Phillips",
     sort_key: "Phillips",
     party: "Constitution",
     candidate_url: "http://en.wikipedia.org/wiki/Howard_Phillips",
     party_url: "http://en.wikipedia.org/wiki/United_States_Constitution_Party"
   },
   Quayle:
   {
     display_name: "Dan Quayle",
     sort_key: "Quayle",
     party: "Republican",
     candidate_url: "http://en.wikipedia.org/wiki/Dan_Quayle",
     party_url: "http://en.wikipedia.org/wiki/United_States_Republican_Party"
   },
   Sharpton:
   {
     display_name: "Al Sharpton",
     sort_key: "Sharpton",
     party: "Democrat",
     candidate_url: "http://en.wikipedia.org/wiki/Al_Sharpton",
     party_url: "http://en.wikipedia.org/wiki/United_States_Democratic_Party"
   }
 }

}