|
Lesson 4 Design/Build GIS (Week 1) - Database Design |
|||||||||||||||||||||||||||||||||||
|
My database design for Lesson 4 consists of 3 tables, a base table and two look-up tables. The base table (Voter_List) holds information about the individual, one look-up table (Ethnicity) holds information that defines the various ethnic groupings being captures, and one look-up table (Party) holds information that defines the various party affiliations under study. These tables are shown below:
|
|||||||||||||||||||||||||||||||||||
|
Voter_List
|
|||||||||||||||||||||||||||||||||||
|
Ethnicity
|
|||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||
|
Party
There is a one-to-many relationship between the Ethnicity and Party tables and the Voter_List table, such that there will be one record in the Ethnicity table for any given record in the Voter_List table, and there will be one record in the Party table for any given record in the Voter_List table, though technically a non-affiliated voter might not have a value, in this case I made the assumption that a non-party-affiliated voter would be classified as "other".
|
|||||||||||||||||||||||||||||||||||
|
The primary keys for these tables are defined by the ArcGIS software, however, the key variables under consideration are:
Null values are not allowed for any of the variables. The only possible exception to this might be Property ID Number (PIN) where it might not be necessary to carry a PIN value for each voter. Otherwise, all values must be present, a voter must have a Voter ID and each voter must be categorized by ethnicity and by party.
Because each voter will have their own unique data captured, no default values have been allowed.
Disk storage space has been minimized by:
The data collection effort was minimized by:
Data entry mistakes were minimized by:
ArcMap can easily and efficiently query these data by simply joining the appropriate data tables using the identified keys and then selecting and displaying the appropriate fields from that query result. |
|||||||||||||||||||||||||||||||||||