HACC2016 / dadatadudes2

HACC Repository for team "DaDataDudes"
MIT License
0 stars 4 forks source link

Create database / database schema #1

Closed warlokkz closed 8 years ago

warlokkz commented 8 years ago

This is a crucial part of the app, and needs some time to think about design of the schema. Ideally, we want something that can be modified by whomever decides to adopt the project after this. We should come up with a minimum requirements list for what we will be collecting from the form.

Ideally, I would like to have a time-series or versioning capable database, so that if the administrators decide to change the schema (form questions), we can adjust for that on the server side. What other collections/tables could we have besides form data?

Suggestions:

Users (for logging in and giving permissions) ? Locations (could be sorted by districts, addresses or geolocation - depending on the granularity we want) Persons (the homeless whom are being assessed) Assessments (attached to Persons) \ I think keeping different versions of assessments that are attached to Persons can be good for keeping a time-series or versioned system to easily query for progress / tracking. Using this schema can most definitely fit a RDBMS like PostgresQL or a graphDB like ArangoDB.

warlokkz commented 8 years ago

Tentative Annual Collection Schemas

Users:

Locations:

Persons:

Assessments

Reports:

warlokkz commented 8 years ago

Users Collection

warlokkz commented 8 years ago

Districts Collection:

warlokkz commented 8 years ago

Reports Collection:

warlokkz commented 8 years ago

Persons Collection:

warlokkz commented 8 years ago

Assessments Collection:

Scores:

General Demographics:

History of Housing and Homelessness:

Risks:

Socialization & Daily Functioning:

Wellness: