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

Create Initial Financial Data Models #9

Open
AfroDevGirl opened this issue Nov 4, 2017 · 0 comments
Open

Create Initial Financial Data Models #9

AfroDevGirl opened this issue Nov 4, 2017 · 0 comments

Comments

@AfroDevGirl
Copy link
Owner

A candidate has a FEC identity, the FEC candidate api returns some attributes that are not currently on our Representative data model. On top of that a candidate is financed by a FinancialCommittee, this data model needs to be created.

New Representative attributes:

    t.string :active_through,
    t.array :fec_candidate_ids,
    t.string :candidate_status,
    t.array :cycles,
    t.string :district,
    t.integer :district_number,
    t.array :election_districts,
    t.array :election_years,
    t.boolean :federal_funds_flag,
    t.datetime :first_file_date,
    t.boolean :has_raised_funds,
    t.string :incumbent_challenge,
    t.string :incumbent_challenge_full,
    t.datetime :last_f2_date,
    t.datetime :last_file_date,
    t.datetime :load_date,
    t.string :office,
    t.string :office_full

FinancialCommittee data model:

  t.string  :fec_committee_id,
  t.string  :committee_type,
  t.string  :committee_type_full,
  t.array  :cycles,
  t.string  :designation,
  t.string  :designation_full,
  t.datetime  :first_file_date,
  t.datetime  :last_f1_date,
  t.datetime  :last_file_date,
  t.string  :name,
  t.string  :organization_type,
  t.string  :organization_type_full,
  t.string  :party,
  t.string  :party_full,
  t.string  :state,
  t.string  :treasurer_name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant