Issue about Uploading Elections
       |           

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

  Talk Elections
  About this Site
  The Atlas
  Issue about Uploading Elections
« previous next »
Pages: [1]
Author Topic: Issue about Uploading Elections  (Read 620 times)
Continential
The Op
Atlas Politician
Atlas Icon
*****
Posts: 10,573
Political Matrix
E: 1.10, S: -5.30

P P P

Show only this user's posts in this thread
« on: January 19, 2021, 09:52:55 AM »
« edited: January 19, 2021, 01:15:35 PM by Ishan »

Every time I try to upload the 1986 Hawaii gubernatorial election in the last couple days I always get this even if I follow everything.

Error: First-line fips code of the data file does not match the chosen state. Check selected state and whether first line of data file is the correct data for the first county of the selected state.

Error: Geographic type Type for Name is not in database. Please check spelling or email Dave

Check to be sure that the header row has been removed from the data file (data file should only include county, city, and state-level data rows and no column titles)
Error: Last-line fips code of the data file does not match the chosen state. Check whether last line of data file is the correct data for the statewide total (does the file have blank lines?).

Error: Candidate 1 name entered in the form, but has 0 total vote. Check that data file columns match candidate numbers.

Here is the data.

FIPS Name Type Democratic Republican
15001 Hawaii County 21153 17954
15003 Honolulu County 124920 121327
15007 Kauai County 11088 7723
15009 Maui County 16494 13456
15099 Overseas Overseas 0 0
15 Hawaii State 173655 160460





Error: Candidate 2 name entered in the form, but has 0 total vote. Check that data file columns match candidate numbers.

Error: Candidate 10 name entered in the form, but has 0 total vote. Check that data file columns match candidate numbers.

Errors Encountered. Data not entered. Please correct and resubmit.
Logged
ElectionAtlas
Atlas Proginator
YaBB God
*****
Posts: 3,629
United States


P P P
WWW Show only this user's posts in this thread
« Reply #1 on: February 20, 2021, 07:24:01 PM »

Hi -
Just delete the first row (FIPS Name Type Democratic Republican)
The script wants the first thing it sees to be 15001

Thanks,
Dave
Logged
Pages: [1]  
« previous next »
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.023 seconds with 11 queries.