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

Design overall data schema #3

Open
ejaxon opened this issue Feb 20, 2018 · 4 comments
Open

Design overall data schema #3

ejaxon opened this issue Feb 20, 2018 · 4 comments
Labels

Comments

@ejaxon
Copy link
Contributor

ejaxon commented Feb 20, 2018

The schema should certainly be guided by data source schemas, but the goal here is to think long-term about how we want to represent this data for maximum flexibility and usability. This will guide the preparation of each individual dataset from its source form.

@ejaxon ejaxon added the Data label Feb 20, 2018
@ChrisTheDBA
Copy link

I'd recommend looking into Adam Damico's census/survey work - https://github.com/ajdamico. He favors a schema-at-read method

@LauraMB12
Copy link
Collaborator

ryan thornburg said he might can refer some students to help- for their data visualization portfolios.

@LauraMB12
Copy link
Collaborator

LauraMB12 commented Feb 21, 2018

ryan shared this article / visualizations on residents v. police https://www.nytimes.com/interactive/2014/09/03/us/the-race-gap-in-americas-police-departments.html

@ejaxon
Copy link
Contributor Author

ejaxon commented Mar 11, 2018

I think we need to look at this as a more traditional schema since our next phase will be to build a web app that reads it. To my mind, we basically need the following tables (based largely on the fact that the data sources are quite different):

  • community_demographics
  • voter_demographics
  • candidate_demographics
  • elected_body_demographics

I've created a schema file to think through columns.

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

No branches or pull requests

3 participants