-
Notifications
You must be signed in to change notification settings - Fork 50
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
Take first line of address via web form and geocode to lat/lng to send to sunlight. #15
Comments
@sinak Is this necessary or useful for tdwfb? |
So the problem here is that 40% of zip codes are split between 2 house reps, which makes zip code not sufficient to identify their rep. The way phone2action deals with this is that when it comes to connecting to a user it asks,"there are more than 2 reps in your area, is your rep pelosi or boehner? Press 1 if pelosi, press 2 if boehner, press 3 if you don't know". If user presses 3, it picks randomly. Other option is to present a form asking for first line of address, which then gets geocoded to an address and sent to the server. My plan for this campaign was to just ignore and "spray and pray". If we can do the first option that'd be bomb, but if it's out of scope lets just leave it. |
(I'm guessing it's out of scope) |
Okay, so I wanted to write up a longer description of possibilities for how this could possibly work for the various modalities in which we use the call tool. The problem: Users are complaining that they are connected to the wrong House reps when they use the call tool. This only happens when a campaign includes the House, and not the Senate alone. Why it's happening: About 40% of zip codes are split between multiple congressional districts. Some are split between up to 5 reps. Sunlight's Congress API simply returns all the reps within that particular zip code in a randomized order, even if a big majority of people in that zip code are served by just one of the reps. At the moment, the call tool just picks the first one that Sunlight returns, and hopes that's the right rep. Possible solutions:
How we can implement:I think the ideal solution is probably to do a mix of all three: Web-initiated calls: Ask for users zip, if we are >95% sure of their rep or the campaign doesn't target reps, place the call, and if not, ask for the first line of their address. But since doing all that is quite complicated, I think we should do the following for now:
Often campaigns will target Senate and won't need the first line of the address, so it definitely needs to be an optional field. |
@beaugunderson First off: ✨ 🐴 ✨ Secondly, are you still up for giving this a shot? |
New locate_by type: LOCATION_DISTRICT
No description provided.
The text was updated successfully, but these errors were encountered: