Skip to content

Create schema for tables of data #10

@lmullen

Description

@lmullen

Since we are close to having our first real finished data, we should think about how exactly the data will be normalized into tables. Here is a start:

  1. County vote table (candidate ID, candidate name, election ID, vote, county, state, county ID, district?)
  2. District vote table (candidate ID, candidate name, election ID, vote, state, district, district ID)
  3. Town vote table (candidate ID, candidate name, election ID, vote, state, district, town, town ID)
  4. Candidate table (candidate name, candidate ID, candidate bio)
  5. Election table (election ID, office, year, role, etc.). Perhaps a further table with elections with multiple votes.
  6. County spatial data (county ID, spatial data)
  7. District spatial data (district ID, spatial data)
  8. Town spatial data (town ID, spatial data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions