openelections / openelections-core

Core repo for election results data acquisition, transformation and output.
MIT License
178 stars 97 forks source link

2008 Maryland General election has wrong date #107

Closed ghing closed 10 years ago

ghing commented 10 years ago

Election ID is 'md-2008-06-17-general'. It seems like the date should be 2008-11-04. Source: http://www.electionsmaryland.com/elections/2008/index.html

dwillis commented 10 years ago

That's a special election, so the slug should be md-2008-06-17-special-general. http://www.elections.state.md.us/elections/2008/2008_special_4th_congressional_general_results.html

ghing commented 10 years ago

Hmm. It seems like the results (that get downloaded) are for the general election. I think whoever entered the metadata might have crossed the wires there. I'll take a look at the dashboard when I get through the code I'm writing.

ghing commented 10 years ago

Because md-2008-06-17-special-general should only be for the U.S. Congress seat for the 4th Congressional District, right? http://www.electionsmaryland.com/elections/2008/2008_special_4th_congressional_general_results.html

dwillis commented 10 years ago

Well, the metadata was me :-)

But I think that MD datasource isn't dealing with special elections at all.

dwillis commented 10 years ago

Correct, and the metadata reflects that.

ghing commented 10 years ago

Ok. I'll take a look at the datasource.

ghing commented 10 years ago

@dwillis, looking at http://openelections.net/api/v1/election/?format=json&state__postal=MD, it looks like that 2008 special election is the only one we have metadata for. I'm assuming that this is because it's the only special election since 2000 that was for an office we care about? Can you confirm?

dwillis commented 10 years ago

Yep, will do.

dwillis commented 10 years ago

Confirmed. All the other special elections are for local offices. Should I just make a CSV for that race?

ghing commented 10 years ago

Added loader for this election. Still to do: