Coder Social home page Coder Social logo

Comments (14)

JoshData avatar JoshData commented on June 15, 2024

But at most one fec_id per term, right?

from congress-legislators.

jsfenfen avatar jsfenfen commented on June 15, 2024

Sadly no; bachman raised money both for her presidential bid and her house race this cycle. The campaign finance limits are applied per race, I think, so the system probably reflects that; one can max out to her as a house candidate and as a presidential candidate.

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

Sounds like the simplest solution is just to make this an array - all FEC IDs which can apply to this person. I don't think the complexity cost of doing many-to-many between FEC IDs and individual terms is going to be worth it, but we also clearly don't want to just exclude any FEC IDs from the system because they're weird sometimes.

from congress-legislators.

JoshData avatar JoshData commented on June 15, 2024

@jsfenfen, Oh er, sorry you said that the first time. :)

@konklone Sounds good. (An alternative would be to put the fec_id for House/Senate races only on the term, where it seems to be at-most-one (and the placement would also code the election cycle), and either ignore presidential fec_ids or put them as you're saying in a list on the person-level id node.)

from congress-legislators.

jsfenfen avatar jsfenfen commented on June 15, 2024

One could apply it retrospectively to terms, and only give each legislator
the FEC_ID for the seat they won.

On Tue, Nov 13, 2012 at 5:30 PM, Eric Mill [email protected] wrote:

Sounds like the simplest solution is just to make this an array - all FEC
IDs which can apply to this person. I don't think the complexity cost of
doing many-to-many between FEC IDs and individual terms is going to be
worth it, but we also clearly don't want to just exclude any FEC IDs from
the system because they're weird sometimes.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-10346829.

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

We could do both? In the main "id" node, have an array of all FEC IDs, and then on each term, put all FEC IDs that were valid for them during that term. I actually wouldn't be bothered if a presidential FEC ID appeared on either their top-level or per-term lists.

from congress-legislators.

dwillis avatar dwillis commented on June 15, 2024

Couple of thoughts - if we do an array of FEC ids, would we update historic legislator files to include new IDs if they happen to win election after a period of not being in Congress? I agree that some kind of look-up is useful, but I wonder if that's a separate file or whether we need to have FEC history in the "id" node.

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

Yeah, we would go back and update the historical legislator file with a new ID. My proposal clearly jettisons history, so if it's a vital thing to keep, we'd need to have a separate file.

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

So I think we've proposed 3 solutions - let's pick one:

  1. Keep a separate file that maps FEC IDs to people per-term
  2. Store a top-level array of all FEC IDs that ever applied, and store an array on each term of all FEC IDs applied during that term
  3. Store a top-level array of all FEC IDs that ever applied

I do nothing with FEC IDs myself, so my preference is the simplest, #3 - since it seems like you could always answer the most common question (given this FEC ID, who does it refer to?) with that top level array. But you guys know the field better, so if you think #1 or #2 is worthwhile, we can do that, assuming you feel like doing the work to populate the extra fields and/or file.

from congress-legislators.

JoshData avatar JoshData commented on June 15, 2024

I vote #3!

http://razor.occams.info

On 11/15/2012 06:07 PM, Eric Mill wrote:

So I think we've proposed 3 solutions - let's pick one:

  1. Keep a separate file that maps FEC IDs to people per-term
  2. Store a top-level array of all FEC IDs that ever applied, and store
    an array on each term of all FEC IDs applied during that term
  3. Store a top-level array of all FEC IDs that ever applied

I do nothing with FEC IDs myself, so my preference is the simplest, #3

  • since it seems like you could always answer the most common question
    (given this FEC ID, who does it refer to?) with that top level array.
    But you guys know the field better, so if you think #1
    #1 or #2
    #2 is
    worthwhile, we can do that, assuming you feel like doing the work to
    populate the extra fields and/or file.


Reply to this email directly or view it on GitHub
#2 (comment).

from congress-legislators.

dwillis avatar dwillis commented on June 15, 2024

I also vote #3.

from congress-legislators.

jsfenfen avatar jsfenfen commented on June 15, 2024

Don't have strong preference. Am officially voting "present".

On Fri, Nov 16, 2012 at 3:45 PM, Derek Willis [email protected]:

I also vote #3.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-10461521.

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

Done!

from congress-legislators.

konklone avatar konklone commented on June 15, 2024

The commit:
4c5664e

from congress-legislators.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.