I get lots and lots of requests for state level output. I designed the app not to do this, for this reason I shared on Reddit:
I chose not to design the app to generate state-level data, as it's a lot more difficult for people to comprehend. Most states would bring in billions every month, and that's such a large number it's unfathomable for most people to process. Also how excited do you get for that money to go to someone hundreds of miles away?
By focusing on towns specifically, and featuring images of local main streets, my hope is that people understand how that money is likely to stay in their community, as people spend it on car repairs, daycare, local organizations, etc. The goal of this campaign is to help them understand that this money supports them, their neighbors, and the small business down the road that could finally expand with a few more customers in the door.
That being said, this request comes up a lot. A suggestion on Reddit was to allow states, and if it is a state, to change the language to be:
By giving every adult $1000, Andrew Yang wants to invest $", [NUMBER], "million into the communities of ", [STATE], " every single month.
To implement this, it would require:
Modifying the dataUSA results to allow results for states, not just places
Unfortunately this would invalidate the autocomplete cache and require us to hit DataUSA with more requests
Modifying the template engine to allow for a new parameter: geo_type. Currently the only value we filter for is place, this would require allowing other values, including state, and potentially others like county, etc.
Auditing the whole codebase for assumptions that this would break
This might make #5 more difficult as well because it doubles the amount of testing needed for that idea.
I get lots and lots of requests for state level output. I designed the app not to do this, for this reason I shared on Reddit:
That being said, this request comes up a lot. A suggestion on Reddit was to allow states, and if it is a state, to change the language to be:
To implement this, it would require:
geo_type
. Currently the only value we filter for isplace
, this would require allowing other values, includingstate
, and potentially others likecounty
, etc.This might make #5 more difficult as well because it doubles the amount of testing needed for that idea.