RBH's Maps (Now, Atlas Election Entry Script & County Map Generation) (user search)
       |           

Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2024, 10:41:44 AM
News: Election Simulator 2.0 Released. Senate/Gubernatorial maps, proportional electoral votes, and more - Read more

  Talk Elections
  About this Site
  The Atlas
  RBH's Maps (Now, Atlas Election Entry Script & County Map Generation) (search mode)
Pages: [1]
Author Topic: RBH's Maps (Now, Atlas Election Entry Script & County Map Generation)  (Read 145599 times)
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« on: January 02, 2007, 08:57:51 PM »

Wow, I'll probably be addicted all night making Minnesota maps.
Logged
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

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

OK, I found the error, the totals in Becker county are transposed.
Logged
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

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

Tried it again and it still didn't work. Oh well.
Logged
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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
I spent the winter writing songs about getting better
BRTD
Atlas Prophet
*****
Posts: 113,000
Ukraine


Political Matrix
E: -6.50, S: -6.67

P P
« 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]  
Jump to:  


Login with username, password and session length

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

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Page created in 0.037 seconds with 13 queries.