Home
2012
Election Results
Election Info
Weblog
Wiki
Search
Email
Site Info
Store
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 23, 2013, 05:37:05 pm
News:
Please delete your old personal messages.
Atlas Forum
Questions and Answers
The Atlas
RBH's Maps (Now, Atlas Election Entry Script & County Map Generation)
« previous
next »
Pages:
1
2
3
4
5
[
6
]
7
8
Author
Topic: RBH's Maps (Now, Atlas Election Entry Script & County Map Generation) (Read 35813 times)
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #125 on:
January 14, 2007, 03:56:52 pm »
#%@!
Thanks for the change data script. That will make this a little easier.
EDIT: It will be until later in the day when I have access to the computer with the MT files. I'll try to make a macro and see if I can swap the two lines automatically, but for now I'll add Delaware.
EDIT 2: The DE 2000 file needs read rights too. Thanks
«
Last Edit: January 14, 2007, 04:28:09 pm by Alcon
»
Logged
n/c
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #126 on:
January 14, 2007, 04:34:40 pm »
I've changed the permissions to allow for write-access. Note that with Delaware, later years separate out the City of Wilmington from 'Rural New Castle County'. You'll need to add the two for the New Castle figure.
Also for the DE documents, use the "Document" source choice with the following information:
example: for 1996:
Author: Thomas J. Cook
Author Title: Commissioner of Elections
Author Compiled: prep.
Agency: Delaware Department of Elections
Title: State of Delaware 1996 Election Results
Article: State of Delaware Official Results of General Election for Statewide Offices November 5, 1996
Source Pages: p. 2
Also note the write-ins starting on p. 36.
So Lt. Governor should also have a total figure for write-ins of 22 votes, even though there are no county-level data.
«
Last Edit: January 14, 2007, 04:45:50 pm by Dave Leip
»
Logged
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #127 on:
January 14, 2007, 04:39:01 pm »
Quote from: Dave Leip on January 14, 2007, 04:34:40 pm
Done. Note that with Delaware, later years separate out the City of Wilmington from New Castle County. You'll need to add the two for the New Castle figure.
Yeah, that's a little annoying. In earlier years, they also don't provide the losing candidate's full names - just the last names. There doesn't appear to be any place online with this information. Is it OK to just enter their last names for now, and update them when they're found?
Logged
n/c
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #128 on:
January 14, 2007, 05:04:23 pm »
Quote from: Alcon on January 14, 2007, 04:39:01 pm
Quote from: Dave Leip on January 14, 2007, 04:34:40 pm
Done. Note that with Delaware, later years separate out the City of Wilmington from New Castle County. You'll need to add the two for the New Castle figure.
Yeah, that's a little annoying. In earlier years, they also don't provide the losing candidate's full names - just the last names. There doesn't appear to be any place online with this information. Is it OK to just enter their last names for now, and update them when they're found?
Hi Alcon,
Sure, that is ok. Post the names and offices in a thread and maybe you can enlist some help digging them up. I'll also add a script to more easily edit candidate names/source info.
Also read the edits to my previous post as well.
Enjoy,
Dave
Logged
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #129 on:
January 14, 2007, 05:08:38 pm »
Also, for the many Maryland members, there is always the
Maryland Manual
. From the present back into the 19th century, they have compilation of scanned pdfs of the original manuals. It takes a bit of getting used to finding the right pages with the election results - I tend to start in the index and find "E", look for election results and then go to that page. Be sure to use the pdf versions and not the attempted OCR html data as there are often incorrect data in the html. If you find the right pages, please also download them and send them to me, letting me know which edition of the manual they are from. Finally, use the "Document" source choice with the appropriate information.
Thanks,
Dave
Logged
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #130 on:
January 14, 2007, 05:41:34 pm »
For the Illinois Buff, there are the
Illinois Blue Books
back to 1900. These also include election data as part of the document. Also use "Document" for the source from any data here, including all the pertinant info: For example:
Goveror Illinois 1912
Source Author: Harry Woods
Source Author Title: Secretary of State
Source Author Compiled: comp.
Source Agency: Illinois Secretary of State
Source Title: Blue Book of the State of Illinois 1913-1914
Source Article: Vote for Governor - November 5, 1912
Source Publisher: Illinois Printing Company
Source City: Danville
Source Year: 1914
Source Pages: pp. 569-570
Logged
Bleeding heart conservative, HTMLdon
htmldon
YaBB God
Posts: 8804
Political Matrix
E: 1.03, S: -2.26
Re: RBH's Maps
«
Reply #131 on:
January 15, 2007, 07:02:52 pm »
Dave,
All of the maps created before Texaslefty's CA Prop 81 map (2007-01-15 01:55:05) are coming up with db errors. The maps are still showing, but the features of the pages are non-operational.
Logged
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #132 on:
January 15, 2007, 09:08:26 pm »
Thanks - All should be well soon. I made some modifications to the database table and a script is working to update the table. Should be done soon.
Dave
Logged
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #133 on:
January 21, 2007, 05:20:15 am »
It would be nice to have a quick way to change the title for
idiots like me
who can't spell or in instances where initiatives could be better-named.
This
needs to be transferred to 1991 (the SoS site lists the year incorrectly).
«
Last Edit: January 21, 2007, 06:46:39 am by Alcon
»
Logged
n/c
bgwah
YaBB God
Posts: 13401
Political Matrix
E: -4.52, S: -8.17
Re: RBH's Maps
«
Reply #134 on:
January 21, 2007, 07:28:57 am »
Hi Dave,
I was wondering it would be possible to add Presidential primary results?
Logged
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #135 on:
January 21, 2007, 10:29:40 am »
Additional bugs:
- Initiative titles with apostrophes do not show up at all
- 1980s years without population generate MySQL errors
Logged
n/c
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #136 on:
January 21, 2007, 05:33:35 pm »
I just finished up all Washington initiatives back until 1970. Naturally, on the second to last (of, what, 100+ or so?) I noticed that there was a much, much easier way to do it involving a weird sort method. So I wasted at least several hours. Oh well.
Once primaries are done, Jesus and I will have all the inputtable Washington election results back 'til 1970 done. That just leaves Senate Joint Resolutions, House Joint Resolutions, Commissioner of Public Lands and Superintendent of Public Instruction -- not too much work now that we've discovered the easier way of doing this.
There's a race where 5 candidates won counties (
here
). Should we just treat that normally for now? Maybe orange or purple could be added, or something, when that happens?
Thanks again for adding this, Dave.
«
Last Edit: January 21, 2007, 05:47:31 pm by Alcon
»
Logged
n/c
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #137 on:
January 23, 2007, 10:24:06 am »
Great Job all!
This is turning out to be quite a feature! I have created the ability to edit just the information (candidate names, initiative name, notes, and source info). At the bottom of each page that you contributed, there is a new link titled "Change Info for this Contest". This will take you to an edit form that has all the previously-entered data already in the boxes. Just edit and hit submit. Please let me know if you have any difficulties or find new introdced bugs.
Quote
There's a race where 5 candidates won counties (here). Should we just treat that normally for now? Maybe orange or purple could be added, or something, when that happens?
Yes. I'll have to add support for all these contests that you dig up with 5 winning candidates (and RBH's < 20% win county!!!)
Quote
- Initiative titles with apostrophes do not show up at all
Could you give me an example contest?
Quote
I was wondering it would be possible to add Presidential primary results?
at some point, possibly - I have a bunch more work here though for delegates, etc.
Logged
bgwah
YaBB God
Posts: 13401
Political Matrix
E: -4.52, S: -8.17
Re: RBH's Maps
«
Reply #138 on:
January 23, 2007, 05:55:04 pm »
Possible bug; I added Alabama gubernatorial election results for 1946-1986 (I've assumed 1990 and 1994 will be added soon) and noticed that the party buttons don't work for for the elections before 1970.
And, somewhat off topic, Louisiana has their 1987 runoff election online but not the general. Strange...
Logged
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #139 on:
January 23, 2007, 06:52:19 pm »
Here
is an example of the apostrophe bug.
By the way, Jesus, you might want to use the new feature to fix "Socialistt Workers" on the last Louisiana one you did (with all the colors).
Logged
n/c
True Democrat
true democrat
YaBB God
Posts: 7530
Political Matrix
E: 1.10, S: -2.87
Re: RBH's Maps
«
Reply #140 on:
January 23, 2007, 10:13:08 pm »
Quote from: Jesus on January 23, 2007, 05:55:04 pm
Possible bug; I added Alabama gubernatorial election results for 1946-1986 (I've assumed 1990 and 1994 will be added soon) and noticed that the party buttons don't work for for the elections before 1970.
And, somewhat off topic, Louisiana has their 1987 runoff election online but not the general. Strange...
In 1966, Lurleen Wallace, his wife ran, since Wallace term limited and still wanted to be governor.
Logged
Michael Bloomberg for President.
Lol Winfield. This quote is from a thread entitled "what do the following proceed to do if they are not nominated?"
Quote from: Tammany Hall Republican on January 07, 2008, 11:45:07 pm
Romney - President of Harvard
So the Heroes Fall
BRTD
YaBB God
Posts: 68061
Re: RBH's Maps
«
Reply #141 on:
January 27, 2007, 08:19:10 pm »
I just added the 2000 Minnesota Senate Democratic primary:
http://uselectionatlas.org/RESULTS/state.php?year=2000&off=3&elect=1&fips=27&f=0
It's there, but there are no links to it on the main contributions page, or on the Minnesota page. What's up?
Logged
RBH
YaBB God
Posts: 2088
Re: RBH's Maps
«
Reply #142 on:
January 27, 2007, 09:23:41 pm »
Quote from: Jesus on January 23, 2007, 05:55:04 pm
And, somewhat off topic, Louisiana has their 1987 runoff election online but not the general. Strange...
Edwards refused to go a runoff with Roemer in 1987
Logged
RBH
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #143 on:
January 29, 2007, 10:49:37 am »
This contest
for AZ Prop 107
is way off - it has unofficial CNN data that are short by over 300,000 votes. Please avoid using CNN or other unofficial/secondary sources for data. The
AZ 2006 Official Canvass
has all these official data.
Thanks,
Dave
Logged
RBH
YaBB God
Posts: 2088
Re: RBH's Maps
«
Reply #144 on:
February 02, 2007, 08:31:11 pm »
I don't think the script can upload results from O'Brien County Iowa due to the comma.
Logged
RBH
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #145 on:
February 03, 2007, 04:45:27 pm »
Yep, the 'quote' was messed up because I had the variable in single quotes. It should work now.
Logged
Grad Students are the Worst
Alcon
Moderators
YaBB God
Posts: 31289
Re: RBH's Maps
«
Reply #146 on:
February 10, 2007, 09:07:50 pm »
Dave,
Any plans to add new offices, such as Commissioner of Public Lands or Superintendent of Public Instruction? Or House & Senate Joint Resolutions?
Logged
n/c
Joe Republic
Moderators
YaBB God
Posts: 28523
Re: RBH's Maps
«
Reply #147 on:
February 11, 2007, 01:57:50 pm »
I'm not sure what I did wrong here:
http://uselectionatlas.org/RESULTS/state.php?year=2006&off=11&elect=0&fips=39&f=0
Could somebody do a user's guide or something? It's all a little baffling, and I have plenty of time and resources to make a bunch of maps.
Logged
Quote from: nekipa1279 on June 26, 2012, 03:05:47 pm
Joe Republic is a Fascist Face.
So the Heroes Fall
BRTD
YaBB God
Posts: 68061
Re: RBH's Maps
«
Reply #148 on:
February 11, 2007, 05:12:53 pm »
You probably either left commas in the digits or didn't delete the top line.
Logged
Dave Leip
leip
Administrator
YaBB God
Posts: 2095
Re: RBH's Maps
«
Reply #149 on:
February 11, 2007, 09:25:40 pm »
Quote from: Joe Republic on February 11, 2007, 01:57:50 pm
I'm not sure what I did wrong here:
http://uselectionatlas.org/RESULTS/state.php?year=2006&off=11&elect=0&fips=39&f=0
Could somebody do a user's guide or something? It's all a little baffling, and I have plenty of time and resources to make a bunch of maps.
Hi Joe,
Thanks - the effort would be great!
the file that you uploaded is for some reason blank. Check that it is tab-delimited file from the template provided via the link on the script page. It should only include lines from one state, including the statewide total. The "?" next to each item in the form has a pop-up that gives info on that item of the form. I'm not sure why the script actually entered the election - could you email me the file?
Thanks,
Dave
Logged
Pages:
1
2
3
4
5
[
6
]
7
8
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Presidential Elections - Analysis and Discussion
-----------------------------
=> 2016 U.S. Presidential Election
===> 2016 U.S. Presidential General Election Polls
===> 2016 U.S. Presidential Primary Election Polls
=> U.S. Presidential Election Results
===> 2012 U.S. Presidential Election Results
===> 2008 U.S. Presidential Election Results
===> 2004 U.S. Presidential Election Results
===> 2000 U.S. Presidential Election Results
=> Presidential Election Trends
=> Election What-ifs?
===> Past Election What-ifs (US)
===> Alternative Elections
===> International What-ifs
-----------------------------
Other Elections - Analysis and Discussion
-----------------------------
=> Gubernatorial/Statewide Elections
===> 2013 & Odd Year Gubernatorial Election Polls
===> 2014 Gubernatorial Election Polls
=> Congressional Elections
===> 2014 Senatorial Election Polls
=> International Elections
=> Election Predictions
-----------------------------
Questions and Answers
-----------------------------
=> Presidential Election Process
===> Electoral Reform
===> Polling
=> The Atlas
===> How To
-----------------------------
General Discussion
-----------------------------
=> Constitution and Law
=> Religion & Philosophy
=> History
===> Alternative History
-----------------------------
General Politics
-----------------------------
=> U.S. General Discussion
=> Political Geography & Demographics
=> International General Discussion
=> Economics
=> Individual Politics
=> Political Debate
===> Political Essays & Deliberation
===> Book Reviews and Discussion
-----------------------------
Election Archive
-----------------------------
=> 2012 Elections
===> 2012 Senatorial Election Polls
===> 2012 House Election Polls
===> 2012 U.S. Presidential Primary Election Polls
===> 2012 U.S. Presidential General Election Polls
===> 2012 Gubernatorial Election Polls
=> 2010 Elections
===> 2010 House Election Polls
===> 2010 Senatorial Election Polls
===> 2010 Gubernatorial Election Polls
=> 2008 Elections
===> 2008 Senatorial Election Polls
===> 2008 Gubernatorial Election Polls
===> 2008 U.S. Presidential Election Campaign
===> 2008 U.S. Presidential General Election Polls
===> 2008 U.S. Presidential Primary Election Polls
=> 2004 U.S. Presidential Election
===> 2004 U.S. Presidential Election Campaign
===> 2004 U.S. Presidential Election Polls
=> 2006 Elections
===> 2006 Senatorial Election Polls
===> 2006 Gubernatorial Election Polls
-----------------------------
Forum Community
-----------------------------
=> Forum Community
===> Forum Community Election Match-ups
=> Election and History Games
===> Mock Parliment
===> Town Hall
===> Survivor
===> Interactive Timelines
=> Off-topic Board
-----------------------------
Atlas Fantasy Elections
-----------------------------
=> Atlas Fantasy Elections
===> Voting Booth
=> Atlas Fantasy Government
===> Constitutional Convention
===> Regional Governments
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.18
|
SMF © 2013, Simple Machines
Loading...