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

Allow state-level data #10

Open
AllenEllis opened this issue Jan 5, 2020 · 0 comments
Open

Allow state-level data #10

AllenEllis opened this issue Jan 5, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@AllenEllis
Copy link
Owner

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.

@AllenEllis AllenEllis added the enhancement New feature or request label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant