Welcome, Guest. Please login or register.
Did you miss your activation email?
November 12, 2019, 07:34:44 pm
News: 2020 U.S. Senate Predictions are now active.

  Atlas Forum
  About this Site
  The Atlas
  RBH's Maps (Now, Atlas Election Entry Script & County Map Generation) (search mode)
Pages: [1] Print
Author Topic: RBH's Maps (Now, Atlas Election Entry Script & County Map Generation)  (Read 125187 times)
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« on: January 02, 2007, 08:57:51 pm »

Wow, I'll probably be addicted all night making Minnesota maps.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #1 on: January 02, 2007, 10:29:29 pm »

Here's my first shot at it: https://uselectionatlas.org/RESULTS/state.php?fips=27&year=2006&f=0&off=9&elect=0

That's the Minnesota AG race this year.

Map works pretty good, so does the tables, but not graphs or individual county data, although appears to be the case with other maps.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #2 on: January 02, 2007, 10:50:18 pm »

As practice, I decided to do an easy race in a state with not many counties. So here's AZ Attorney General this year:

https://uselectionatlas.org/RESULTS/state.php?year=2006&off=9&elect=0&fips=4&f=0
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #3 on: January 02, 2007, 11:23:53 pm »

Here's my first shot at it: https://uselectionatlas.org/RESULTS/state.php?fips=27&year=2006&f=0&off=9&elect=0

That's the Minnesota AG race this year.

Map works pretty good, so does the tables, but not graphs or individual county data, although appears to be the case with other maps.

Hi,
One error here - the "Write-ins" are listed as being column 10, but the datafile includes them under column 5 - so they don't show up.  I'm going to add a check to the script to catch this.  Also, what is the source of the 633 vote switch?  any idea? a single county data transposed?

I'm not sure, the map is the same was one I made earlier so all the counties got the winner's right unless I made an error in the first one. I'll look through it later and try to find the error. And yes, I made that error with the Write-Ins but it appears they just appeared under a blank table. I'll make sure not to do that on any future ones, on the one I'm doing now I have Write-Ins under column 5 with 4 candidates.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #4 on: January 02, 2007, 11:28:59 pm »

OK, I found the error, the totals in Becker county are transposed.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #5 on: January 02, 2007, 11:59:55 pm »

OK, new data is up, looks good but a minor error: The default format for the table is not in alphabetical order
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #6 on: January 03, 2007, 01:00:55 am »

Tried it again and it still didn't work. Oh well.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #7 on: January 03, 2007, 01:24:41 pm »

Another Thought - hold off for a short time on Initiative/state-wide questions.  I have some additional thoughts on how to present/store this info.

Ha, I only read this after doing the North Dakota Referendum on a Lottery. Oh well.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #8 on: January 04, 2007, 02:28:51 pm »

For my MN Secretary of State 2002 table, I can't sort it in any order other than the default. I get this:


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/www/users/leip/RESULTS/data.php on line 1014

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/www/users/leip/RESULTS/data.php on line 1371
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #9 on: January 27, 2007, 08:19:10 pm »

I just added the 2000 Minnesota Senate Democratic primary: https://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
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #10 on: February 11, 2007, 05:12:53 pm »

You probably either left commas in the digits or didn't delete the top line.
Logged
The love that set me free
BRTD
YaBB God
*****
Posts: 87,730
Ukraine


« Reply #11 on: February 23, 2007, 01:11:20 pm »

Hit the plus sign on the left side.

Also, after you've put into the columns (in the form of numbers without commas).. copy all the info and paste it into a txt file.

Actually it's probably easier to hit "Save As" and then choose a Text File as the format.

Also the top line is just a guide for you when entering. It should be deleted before uploading.
Logged
Pages: [1] Print 
Jump to:  


Login with username, password and session length
Logout

Terms of Service - DMCA Agent and Policy - Privacy Policy and Cookies

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

© Dave Leip's Atlas of U.S. Elections, LLC