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

feat: Onboard New Fec dataset #486

Merged
merged 23 commits into from
Oct 14, 2022

Conversation

gkodukula
Copy link
Contributor

@gkodukula gkodukula commented Sep 29, 2022

Description

Dataset: FEC

  • FEC Committee Contributions
  • 2016 FEC Candidate Committee
  • 2016 FEC Candidate
  • 2016 FEC Opex
  • 2016 Other Committee Tx
  • 2016 FEC Committee
  • 2016 FEC Individuals
  • 2018 FEC Committee
  • 2018 FEC Opex
  • 2018 FEC Committee Contributions
  • 2018 FEC Candidate Committee
  • 2018 FEC Other Committee Tx
  • 2018 FEC Candidate
  • 2020 FEC Candidate Committee
  • 2020 FEC Candidate
  • 2020 FEC Other Committee Tx
  • 2020 FEC Committee
  • 2020 FEC Committee Contributions
  • 2020 FEC Opex
  • 2020 FEC Individuals - Step 3: Ingest

Checklist

  • (Required) This pull request is appropriately labeled
  • Please merge this pull request after it's approved

Use the sections below based on what's applicable to your PR and delete the rest:

Feature

  • I'm adding or editing a feature
  • I have updated the README accordingly
  • I have added/revised tests for the feature

Data Onboarding

  • I'm adding or editing a dataset
  • The Google Cloud Datasets team is aware of the proposed dataset
  • I put all my code inside datasets/fec and nothing outside of that directory

@nlarge-google
Copy link
Collaborator

nlarge-google commented Sep 29, 2022

Gowtham, there are multiple issues with the transform_csv python file:

(1) Please remove ALL blank lines between code. There should be no inter-function blank lines.
(2) process_dataframe_chunk has a list of columns hard coded into it. These should be in the pipeline.yaml file, not in the python file.
(3) Ensure ALL functions have a return type. If there is no return type specify "None"
(4) fill_null_values has one line of code in it. simply replace the calling function entry with the code in the function and remove the function itself. Same for rename_headers.

Copy link
Collaborator

@nlarge-google nlarge-google left a comment

Choose a reason for hiding this comment

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

As specified in my comment

Copy link
Collaborator

@nlarge-google nlarge-google left a comment

Choose a reason for hiding this comment

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

Thanks Gowtham.

@nlarge-google nlarge-google merged commit 6ee1fa3 into GoogleCloudPlatform:main Oct 14, 2022
@nlarge-google
Copy link
Collaborator

@gkodukula This is now merged and deployed to production. Please ensure execution cycle completes successfully.

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

Successfully merging this pull request may close these issues.

None yet

2 participants