Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campaign entities #62

Closed
wants to merge 6 commits into from
Closed

Conversation

aepton
Copy link
Contributor

@aepton aepton commented Dec 12, 2016

Breaking out campaign-related entities into separate PR from campaign finance filing entities.

jurisdiction
Jurisdiction with at least one race occurring on this Election date.

is_primary

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect we might need more than just an is_primary flag. There are also special elections when people resign or die in office, as well recall elections, to consider. A "type" field might be appropriate here as well.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, runoff elections. This is super helpful to know in fed-land, where hard money is capped at $2,700 (2016) per election, so the total max allowed individual contribution goes up when there's a runoff.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, this should be an enumerated type. Fixing.

election
Election this Candidate is contesting.

party

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does OCD already have a Party model?

@fgregg
Copy link
Contributor

fgregg commented Dec 16, 2016

With due respect to @aepton , I'm pretty interested in seeing if we could try to closely follow the VIP election specification. It would be great to have a higher degree of interoperability to that existing data standard. Would also really like input from the openelex people. paging @djbridges and @ghing

@dwillis
Copy link

dwillis commented Dec 16, 2016

I agree with @fgregg - the VIP standard is one that is well-known and growing in use. In terms of parties, things get a little hairy in some states, where candidates run on multiple party lines (CT & NY are especially fun).

@aepton
Copy link
Contributor Author

aepton commented Dec 20, 2016

Oh wow, yeah, we should totally just use VIP for this. Closing.

@aepton aepton closed this Dec 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants