Level 0 Diagram with the first level processes and data stores:
User: first name, last name, identifier, email, sex, allergens, location, birthday.
Weather: Zip, time, high temperature, low temperature, wind speed, humidity.
Researcher: first name, last name, identifier, email, organization, location, query.
Data Model
Data Dictionary
Develop a data dictionary based on this data Model (see slides in Blackboard detailing how you
develop one)
Constraints:
Source: Data store D3, Allergy Information
Destination: Process 7, Collect needed/ wanted data
Name: Query
Type: Data flow
Description: The query that the public health researcher sent to the repository
Synonyms: N/A
What it contains:
Data elements:
Researcher ID
Query
Lower-level data flows: none
What it is contained in: None
Constraints:
Source: Process 7, Collect needed/wanted data
Destination: Data store D8, Public Health Query Records
Name: Results
Type: Data flow
Description: The results of the data request that the health researcher sent to the repository
Synonyms: N/A
What it contains:
Data elements:
Flora Name
Flora ID
Allergenicity
Type
Sub Type
Zip
Allergen ID
Peak Season
Allergen Name
High Temp
Low Temp
Wind Speed
Humidity
Zip
Time Stamp
Lower-level data flows: none
What it is contained in: None
Constraints:
Source: Process 7, Collect needed/wanted data
Destination: Public Health Researcher
Constraints:
Source: Public Databases
Destination: Process 5, Mine public databases
Name: User
Type: entity
Description: An individual who has downloaded the app and will use it to both submit user
information, as well as retrieve information about allergens and how it affects them
Synonyms: App User Information data store
What it contains: attributes UserID, fName,lName,Sex,Email
What it is contained in: N/A
Constraints: UserID must be unique
Name: Location
Type: entity
Description: a zip code that refers to a specific area, as well as the corresponding Longitude and
latitude lines associated with that region
Synonyms: None
What it contains: attributes Zip, Latitude, Longitude
What it is contained in: N/A
Constraints: Zip must be unique
Name: Allergen
Type: entity
Description: the individual allergens that set off someone’s allergies, always pollen in this case
Synonyms: Allergy Information data store
What it contains: attributes AllergenID, PeakSeason,AllergenName
What it is contained in: N/A
Constraints:AllergenID must be unique
Name: Flora
Type: entity
Description: A plant that contains the specific Allergens that are spread in it’s pollen
Synonyms: Flora data data store
What it contains: attributes FloraID, FloraName, Allergenicity, Type,SubType
What it is contained in: n/a
Constraints: FloraID must be unique
Name: Researcher
Type: entity
Description: An individual who uses the repository information to research and understand how
allergens are affected by atmospheric conditions, and therefore on the people who suffer from
allergies
Synonyms: Public health researcher data data store
What it contains: attributes fName, lName, Email, Organization
What it is contained in: N/A
Constraints: ResearcherID must be unique
Name: Query
Type: entity
Description: the Queries that the researchers run in order to obtain the data from the databases
Synonyms: Public Health Query Records data store
What it contains: attributes Query
What it is contained in: N/A
Constraints: N/A
Name: UserID
Type: Attribute (Primary Key)
Description: The unique identification number associated with an app users’ account to help log
the users data and also to relay relevant information back to the user
Synonyms: data element user identification number
What it contains: N/A
What it is contained in: entity User
Constraints: random 8 digit number is generated and associated with account giving UserID,
cannot be null
Name: fName
Type: Attribute
Description: The first name the user wants to be referred to as
Synonyms: data element user first name
What it contains: N/A
What it is contained in: entity User
Constraints: must be a character string with maximum length 15, cannot be null
Name: lName
Type: Attribute
Description: The last name the user wants to be referred to as
Synonyms: Data element user last name
What it contains: N/A
What it is contained in: entity User
Constraints: must be a character string with maximum length 15, cannot be null
Name: Sex
Type: Attribute
Description: Identifies the app users’ sex as either Male or Female for further research purposes
Synonyms: Data element user sex
What it contains: N/A
What it is contained in: entity User
Constraints: a single character string denoted by either ‘F’ or ‘M’
Name: Zip
Type: Attribute (Foreign Key)
Description: The user's’ zip code will be asked for and collected to provide regional specific
allergen information
Synonyms: Data element Zip
What it contains: N/A
What it is contained in: entity User, AtmosphericConditions, and Location2Allergen
Constraints: valid 5 digit United States Postal Code, cannot be null
Name: Email
Type: Attribute
Description: The user's email address to provide means of communication between repository
and user, as well as alternative form of identification
Synonyms: Data element email
What it contains: n/a
What it is contained in: entity User
Constraints: valid email address, cannot be null
Name: UserID
Type: Attribute (Foreign Key)
Description: The unique identification number associated with an app users’ account to help log
the users data and also to relay relevant information back to the user
Synonyms: data element user identification number
What it contains: n/a
What it is contained in: entity User2Allergen
Constraints: random 8 digit number is generated and associated with account giving userID,
cannot be null
Name: AllergenID
Type: Attribute (Foreign Key)
Description: The unique identification name associated with a specific allergen and is used to
specify specific allergens
Synonyms: data element allergen identification number
What it contains: N/A
What it is contained in: entity User2Allergen
Constraints: must be a unique identification name, cannot be null
Name: Severity
Type: Attribute
Description: the level at which a specific allergen bothers a user on a scale from 1-10. 1 being
barely bothersome and 10 being if the user is exposed to it they need medication
Synonyms: data element severity
What it contains: N/A
What it is contained in: entity User2Allergen
Constraints: Is a scale from 1-10, must be an integer from 1-10, cannot be null
Name: AllergenID
Type: Attribute (Primary Key)
Description: The unique identification name associated with a specific allergen and is used to
specify specific allergens
Synonyms: data element allergen identification number
What it contains: N/A
What it is contained in: entity User2Allergen
Constraints: must be a unique identification name , cannot be null
Name: PeakSeason
Type: Attribute
Description: The months that this allergen is most likely to be bothersome to user
Synonyms: data element peak season
What it contains: N/A
What it is contained in: entity Allergen
Constraints: must be less than 8 characters in length and include two different month
abbreviations
Name: AllergenName
Type: Attribute
Description: The name of the allergen that is produced and is likely to be identified by the users
of this application
Synonyms: data element allergen name
What it contains: N/A
What it is contained in: entity Allergen
Constraints: Must be the common name of the allergen and it must be unique, cannot be null
Name: FloraID
Type: Attribute (ForeignKey)
Description: The unique indemnification code for the type of floral associated with a specific
allergen
Synonyms: data element flora identifier
What it contains: N/A
What it is contained in: entity Allergen
Constraints: Must be unique to each different kind of flora, cannot be null
Name: FloraID
Type: Attribute (Primary Key)
Description: The unique indemnification code for the type of floral associated with a specific
allergen
Synonyms: data element flora identifier
What it contains: N/A
What it is contained in: entity Allergen
Constraints: Must be unique to each different kind of flora, cannot be null
Name: FloraName
Type: Attribute
Description: The name of the flora that is most likely to be identified by the users of this
application
Synonyms: data element flora name
What it contains: N/A
What it is contained in: entity Flora
Constraints: Must be a unique name that is not he scientific name of the flora unless that name
would be easily understood by the users
Name: Allergenicity
Type: Attribute
Description: This describes the potential of a specific flora to cause an allergic reaction to a user
Synonyms: data element allergenicity
What it contains: N/A
What it is contained in: entity Flora
Constraints: Must be on a scale from 1-6, must be an integer, cannot be null
Name: Type
Type: Attribute
Description: This describes what flora group that a specific type of flora belongs to
Synonyms: data element type
What it contains: N/A
What it is contained in: entity Flora
Constraints: Must be a name, cannot be null
Name: SubType
Type: Attribute
Description: This describes what flora sub group that a specific type of flora belong to
Synonyms: data element sub type
What it contains: N/A
What it is contained in: entity Flora
Constraints: Must be a name, cannot be null
Name: ZipCode
Type: Attribute (Primary Key)
Description: The unique 5 digit zip code that identifies the area that the user is located in
Synonyms: data element zip code
What it contains: N/A
What it is contained in: entity Location
Constraints: Must be a 5 digit integer, cannot be null
Name: Latitude
Type: Attribute
Description: The unique north-south position of a point on earth’s surface where the user is
located
Synonyms: data element latitude
What it contains: N/A
What it is contained in: entity Location
Constraints: Must be between 0 and 90 degrees
Name: Longitude
Type: Attribute
Description: The unique east-west position of a point on the earth’s surface where the user is
located
Synonyms: data element longitude
What it contains: N/A
What it is contained in: entity Location
Constraints: Must be between 0 and 180 degrees
Name: ZipCode
Type: Attribute (Foreign Key)
Description: The unique 5 digit zip code that identifies the area that the user is located in
Synonyms: data element zip code
What it contains: N/A
What it is contained in: entity Location
Constraints: Must be a 5 digit integer, cannot be null
Name: TimeStamp
Type: Attribute
Description: The time that the weather data was collected from the public database
Synonyms: data element time stamp
What it contains: N/A
What it is contained in: entity AtmosphericConditions
Constraints: Must be a time
Name: TempHigh
Type: Attribute
Description: The high temperature that was recorded for a specific location before the time stamp
Synonyms: data element Temp High
What it contains: N/A
What it is contained in: entity AtmosphericConditions
Constraints: Must be a temperature
Name: TempLow
Type: Attribute
Description: The low temperature that was recorded for a specific location before the time stamp
Synonyms: data element Temp Low
What it contains: N/A
What it is contained in: entity AtmosphericConditions
Constraints: Must be a temperature
Name: WindSpeed
Type: Attribute
Description: The wind speed that was recorded for a specific location before the time stamp
Synonyms: data element wind speed
What it contains: N/A
What it is contained in: entity AtmosphericConditions
Constraints: Must be a wind speed in the form of a double
Name: Humidity
Type: Attribute
Description: The humidity level that was record for a specific location before the time stamp
Synonyms: data element Humidity
What it contains: N/A
What it is contained in: entity AtmosphericConditions
Constraints: Must be a humidity level in the form of a double
Name: fName
Type: Attribute
Description: The first name of the researcher using the repository
Synonyms: data element Researcher name
What it contains: N/A
What it is contained in: entity Researcher
Constraints:
Name: lName
Type: Attribute
Description: The last name of the researcher using the repository
Synonyms: data element Researcher name
What it contains: N/A
What it is contained in: entity Researcher
Constraints: must be a character string with maximum length 15, cannot be null
Name: Email
Type: Attribute
Description: The user's email address to provide means of communication between repository
and user, as well as alternative form of identification
Synonyms: Data element email
What it contains: N/A
What it is contained in: entity Researcher
Constraints: valid email address, cannot be null
Name: Organization
Type: Attribute
Description: The name of the organization that the researcher is associated with
Synonyms:
What it contains: N/A
What it is contained in: entity Researcher
Constraints: Must be a string that is not an acronym, cannot be null
Name: ResearcherID
Type: Attribute (Foreign Key)
Description: The unique 6 digit identification code that identifies a specific researcher using the
repository
Synonyms: data element researcher identifier
What it contains: N/A
What it is contained in: entity Query
Constraints: Must be a unique 6 digit integer
Name: Query
Type: Attribute
Description: The contents of the query that a researcher sends to the repository in order to get the
data they want back
Synonyms: data element query
What it contains: N/A
What it is contained in: entity Query
Constraints: Must be a valid query