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

Occupation field returning no results for individual contributor search before 2002 #1522

Closed
2 tasks
Tracked by #113
AmyKort opened this issue Nov 28, 2017 · 2 comments
Closed
2 tasks
Tracked by #113

Comments

@AmyKort
Copy link

AmyKort commented Nov 28, 2017

@fec-issue-bot commented on Tue Sep 19 2017

What were you trying to do and how can we improve it?

Received a phone about the occupation field not working for Individual Contributions from 2002 back to 1980. Ran a for the 2000 Election Cycle using CEO and got zero results. Went to Classic and ran the same search and got 6 results.

  • confirm data is there but not being found by search
  • Decide on correct approach (always search both employer and occupation for occupation?)

General feedback?

Please fix

Tell us about yourself

Public Records Staff on behalf of a caller.

Details


@jbucelato commented on Tue Sep 19 2017

Please note, if you put anything in the occupation field, teacher, professor, etc., it yields no results.

Might be a performance issue
Might be a data issue - looks like occupations are blank for that time period: https://api.open.fec.gov/v1/schedules/schedule_a/?api_key=DEMO_KEY&sort_hide_null=true&two_year_transaction_period=2000&min_date=01%2F01%2F1999&max_date=12%2F31%2F2000&sort=-contribution_receipt_date&per_page=100&contributor_occupation=-null&is_individual=true

@AmyKort AmyKort added the Bug label Nov 28, 2017
@jwchumley jwchumley changed the title Occupation field not working for individual contributor search Occupation field timing out for individual contributor search Feb 20, 2018
@jwchumley
Copy link

Looks like several things going on here. This may be missing data but it also is likely caused by the fact that in older data employer and occupation were concatenated into a single employer column. THe occupation column is empty. In the legacy individual contributor search we search that column for both employer and occupation.

As for missing, I haven't been able to find these six transactions either through the interface or directly from the API using name and image number to try to find them
image

@lbeaufort lbeaufort changed the title Occupation field timing out for individual contributor search Occupation field returning no results for individual contributor search before 2002 Feb 28, 2018
@AmyKort AmyKort added this to the Sprint 5.3 milestone Mar 16, 2018
@jwchumley
Copy link

Will address this in help screens. THe data prior to April of 2003 were stored with employer and occupation concatenated on one field so we'll explain to use the employer search for both employer and occupation prior to 2003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants