Date post: | 12-Apr-2017 |
Category: |
Documents |
Upload: | vincenzo-iannuzziello |
View: | 72 times |
Download: | 3 times |
Database design (25%)You are required to provide a graphical representation of the database design process. The following stages are required:
1. Identification of Entities.
2. Entities and Relationships
3. Classification of Relationships (ER Schema)
4. Normalisation – Each relationship must be normalised and all the steps shown.
5. Final ER Diagram with normalised entities; all primary and foreign keys identified.
(The design can be hand drawn, scanned and added here; or it can be completely digital)
ENTITIES AND RELATIONSHIPS DIAGRAM (ER)
RELATIONSHIPS
CAMPUS
FACULTY DEPARTMENT APPLICANT
POSTECODE
REGION
LAD
1
1 M 1 M
M
1
1
M
M
1
M
1
M
CAMPUS belong
1 : M
1 MFACULTY
FACULTY belong1
CAMPUS1
FACULTY belong
1 : M
1 MDEPARTMENT
DEPARTMENT belong1
CAMPUS
APPLICANT study
1 : M
1 1DEPARTMENT
DEPARTMENT studyM
APPLICANT
APPLICANT have
1 : M
1 1POSTECODE
POSTECODE have1 M
APPLICANT
POSTECODE identify
1 : M
1 1REGION
REGION identify1 M
POSTECODE
POSTECODE identify
1 : M
1 1LAD
LAD identify1 M
CAMPUS
1
1
NORMALIZATION
CAMPUS CAM_ID CAM_NAME
FACULTY FAC_CODE CAM_ID FAC_NAME
DEPARTMENT DEP_CODE CAM_ID FAC_CODE DEP_NAME
APPLICANT APP_ID CAM_ID FAC_CODE DEP_CODE POSTECODE ATTRIBUTES
APPLICANT APP_ID CAM_ID FAC_CODE DEP_CODE POSTECODE ATTRIBUTES
POSTECODE POSTECODE LAD_CODE REG_CODE X_COORDINATES Y_COORDINATES
POSTECODE POSTECODE LAD_CODE REG_CODE X_COORDINATES Y_COORDINATES
LAD LAD_CODE REG_CODE LAD_NAME ATTRIBUTES
POSTECODE POSTECODE LAD_CODE REG_CODE X_COORDINATES Y_COORDINATES
REGION REG_CODE REG_NAME
LAD LAD_CODE REG_CODE LAD_NAME ATTRIBUTES
REGION REG_CODE REG_NAME
FINAL ER DIAGRAM
LAD belong
1 : M
1 1REGION
REGION belong1 M
LAD
CAMPUSCAM_ID
CAM_NAME
FACULTYFAC_CODE
CAM_IDFAC_NAME
DEPARTMENTDEP_CODE
CAM_IDFAC_CODEDEP_NAME
APPLICANTAPP_IDCAM_ID
FAC_CODEDEP_CODE
POSTECODESEX
POSTECODEPOSTECODELAD_CODEREG_CODE
X_COORDINATESY_COORDINATES
REGIONREG_CODEREG_NAME
LADLAD_CODEREG_CODELAD_NAME
RANK_OF_INCRANK_OF_EMPRANK_OF_AVE
ETHNIC_GROUPsQUALIFICATIONsOCCUPATIONs
PRIMARY KEYFOREIGN KEY
Database Implementation (20%):Please implement the database using ArcGIS Personal Geodatabase. Implement all entities, with added attributes (foreign keys), if any. Also create the relationship classes to implement the relationships defined in the ER Diagram.
Submit the completed geodatabase as a .zip compressed file, in addition to completeddocument.
FIG 1. Database implementation using ArcCatalog
Queries: (55%)
(All queries, question, or sub question must be accompanied by a mapdisplaying the results)
1. Perform queries to figure out how many applicants are from the following regions:
Region Name Number ofApplicants
East 3282East Midlands 525
London 25064West Midlands 625
South East 7110South West 1060
2. List the top 15 LADs with the highest number of applicants.
Rank LAD Name Number ofApplicants
1 Greenwich 22252 Newham 19503 Lewisham 16714 Bexley 14585 Tower Hamlets 14256 Southwark 13237 Croydon 13118 Redbridge 12389 Medway 1192
10 Bromley 109611 Waltham Forest 952
12 Barking andDagenham
935
13 Lambeth 89714 Enfield 78915 Hackney 758
3. Identify the top 5 LADs with the highest number of applicants closest to each campus. You can define what ‘closest’ means. This could be achieved by a set distance, e.g. 20km or adjacency analysis.
Greenwich Campus
Rank LAD Name Number ofApplicants
1 Greenwich 22252 Newham 19503 Lewisham 16714 Bexley 1458
5 TowerHamlets
1425
Avery Hill Campus
Rank LAD Name Number ofApplicants
1 Greenwich 22252 Newham 19503 Lewisham 16714 Bexley 1458
5 TowerHamlets
1425
Medway CampusRank LAD Name Number of
Applicants1 Medway 11922 Dartford 4433 Gravesham 4264 Maidstone 3885 Thurrock 383
4. For the 15 LADs defined in Query 2; Display the Deprivation Indices.
Rank LAD Name Number ofApplicants
Income IMDRank
EmploymentIMD Rank
1 Greenwich 2225 39 512 Newham 1950 8 323 Lewisham 1671 31 354 Bexley 1458 90 1025 Tower Hamlets 1425 10 386 Southwark 1323 25 337 Croydon 1311 26 378 Redbridge 1238 43 719 Medway 1192 65 69
10 Bromley 1096 72 7811 Waltham Forest 952 32 54
12 Barking andDagenham
935 46 74
13 Lambeth 897 21 2314 Enfield 789 13 4415 Hackney 758 15 30
5. Select the LAD that each campus is located in, with all its neighbouring (touch the boundary of the source layer feature) LADs and complete the following table:
Greenwich Campus
Rank LAD Name Number ofApplicants
Income IMDRank
EmploymentIMD Rank
AverageIMD Rank
1 Greenwich 2295 39 51 282 Newham 1950 8 32 33 Lewisham 1671 31 35 314 Bexley 1458 90 102 1745 Tower Hamlets 1425 10 38 76 Bromley 1096 72 78 2037 Barking and Dagenham 935 46 74 22
Avery Hill Campus
Rank LAD Name Number ofApplicants
Income IMDRank
EmploymentIMD Rank
AverageIMD Rank
1 Greenwich 2295 39 51 282 Newham 1950 8 32 33 Lewisham 1671 31 35 314 Bexley 1458 90 102 1745 Tower Hamlets 1425 10 38 76 Bromley 1096 72 78 2037 Barking and Dagenham 935 46 74 22
Medway Campus
Rank LAD Name Number ofApplicants
Income IMDRank
EmploymentIMD Rank
Avg IMDRank
1 Medway 1192 65 69 1322 Gravesham 426 169 182 1423 Maidstone 388 159 174 2174 Thurrok 383 111 116 1435 Tonbridge and Mailing 283 231 255 2686 Swale 270 118 132 997 Castle Point 99 215 240 204
6. Select the LAD that each campus is located in, with all its neighbouring (touch the boundary of the source layer feature) LADs and complete the following table:
Greenwich and Avery Hill Campus
Rank LAD NameNumber ofApplicants
Ethnic Group withLargest Population
Qualificationwith LargestPopulation
Occupation withLargest Population
1 Greenwich 2225F1664
White/British(133130)
F192Level 4 +(66120)
F407ProfessionalOccupations
(24081)
2 Newham 1950F1664
White/British(51516)
F192Level 4 +(71771)
F428ElementaryOccupations
(24598)
3 Lewisham 1671F1664
White/British(114446)
F192Level 4 +(83127)
F407ProfessionalOccupations
(30809)
4 Bexley 1458F1664
White/British(179250)
F187No
Qualification (42366)
F413Administrative and
SecretarialOccupations
(19352)
5 TowerHamlets
1425F1674
Asian/Bangladeshi(81377)
F192Level 4 +(83675)
F407ProfessionalOccupations
(31026)
6 Bromley 1096F1664
White/British(239478)
F192Level 4 +(82304)
F407ProfessionalOccupations
(32394)
7Barking andDagenham
935F1664
White/British(91949)
F187No Qualification
(38397)
F428Elementary Occupations
(11425)
Medway Campus
Rank LAD Name Number ofApplicants
Ethnic Groupwith LargestPopulation
Qualification withLargest Population
Occupation withLargest Population
1 Medway 1192F1664
White/British(225654)
F187No Qualification
(48226)
F416Skilled TradesOccupations
(16564)
2 Gravesham 426F1664
White/British(78422)
F187No Qualification
(19742)
F428ElementaryOccupations
(6331)
3 Maidstone 388F1664
White/British(138235)
F192Level 4 +(32154)
F407ProfessionalOccupations
(12799)
4 Thurrok 383F1664
White/British(127587)
F187No Qualification
(32643)
F413Administrative and
SecretarialOccupations
(11476)
5Tonbridge and
Mailing 283F1664
White/British(111662)
F187No Qualification
(25967)
F407ProfessionalOccupations
(10283)
6 Swale 270F1664
White/British(126130)
F187No Qualification
(29703)
F416Skilled TradesOccupations
(8477)
7 Castle Point 99F1664
White/British(83943)
F187No Qualification
(21885)
F413Administrative and
SecretarialOccupations
(6520)
7. What are the demographics of the top 15 LADs with the highest number of applications? Use the table below:
Rank LAD Name Number ofApplicants
DominantOccupation
DominantQualification
Dominant EthnicGroup
1 Greenwich 2225
F407ProfessionalOccupations
(24081)
F192Level 4 +(66120)
F1664White/British
(133130)
2 Newham 1950
F428ElementaryOccupations
(24598)
F192Level 4 +(71771)
F1664White/British
(51516)
3 Lewisham 1671
F407ProfessionalOccupations
(30809)
F192Level 4 +(83127)
F1664White/British
(114446)
4 Bexley 1458
F413Administrativeand Secretarial
Occupations(19352)
F187No Qualification
(42366)
F1664White/British
(179250)
5 TowerHamlets
1425
F407ProfessionalOccupations
(31026)
F192Level 4 +(83675)
F1674Asian/Banglades
hi(81377)
6 Southwark 1323
F407 ProfessionalOccupations
(38033)
F192Level 4 +(38384)
F1664White/British
(114534)
7 Croydon 1311
F407ProfessionalOccupations
(33894)
F192Level 4 +(90321)
F1664White/British
(171740)
8 Redbridge 1238
F407ProfessionalOccupations
(28543)
F192Level 4 +(73299)
F1664White/British
(96253)
9 Medway 1192
F416Skilled TradesOccupations
(16564)
F187No Qualification
(48226)
F1664White/British
(225654)
10 Bromley 1096
F407ProfessionalOccupations
(32394)
F192Level 4 +(82304)
F1664White/British
(239478)
11Waltham
Forest 952
F407ProfessionalOccupations
(21634)
F192Level 4 +(60914)
F1664White/British
(92999)
12Barking andDagenham 935
F428ElementaryOccupations
(11425)
F187No Qualification
(38397)
F1664White/British
(91949)
13 Lambeth 897
F407ProfessionalOccupations
(42838)
F187No Qualification
(35352)
F1664White/British
(118250)
14 Enfield 789
F407ProfessionalOccupations
(26102)
F192Level 4 +(69627)
F1664White/British
(126450)
15 Hackney 758
F407ProfessionalOccupations
(29638)
F187No Qualification
(38172)
F1664White/British
(89030)
8. Which campus is surrounded by LADs with most highly qualified persons?
Greenwich and Avery Hill campus are located in the same LAD and therefore surrounded by the same LADs, in which reside 455858 highly qualified persons , while only 167307 reside in or around Medway LAD. However, considering a buffer area of 20Km from each campus, Greenwich campus seems to be surrounded by more highly qualified persons.
Greenwich and Avery Hill Campus
Rank LAD Name Qualification with LargestPopulation
1 GreenwichF192
Level 4 +(66120)
2 NewhamF192
Level 4 +(71771)
3 LewishamF192
Level 4 +(83127)
4 BexleyF187
No Qualification (42366)
5 Tower HamletsF192
Level 4 +(83675)
6 BromleyF192
Level 4 +(82304)
7Barking andDagenham
F187No Qualification
(38397)
9. Describe the demographic differences between the LADs surrounding Medway Campus and Greenwich Campus. Discuss your answer using Census and Deprivation Indices.
The first difference identifiable is the fact that, as displayed in the table and map of Query 6, in one of the LADs (Tower Hamlet) around Greenwich campus the dominant ethnic group is not White/British as for the other LADs, but Asian/Bangladeshi. There isalso a relevant number of other ethnic groups diverse from white/British in Greenwich area. Overall for both areas the dominant Ethnic group is White/British (F1664), however in Greenwich area reside a significant mix of cultures.
ETHNIC GROUPS MEDWAY AREA(clockwise direction)
F1664
F1665
F1672
F1673
F1674
F1675
F1676
F1677
F1678
F1679
F1680
ETHNIC GROUPS GREENWICH AREA
(Clockwise direction)
F1664
F1665
F1672
F1673
F1674
F1675
F1676
F1677
F1678
F1679
F1680
0
200000
400000
600000
800000
1000000
ETHNIC GROUPS GREENWICH AREA
0
200000
400000
600000
800000
1000000
ETHNIC GROUPS MEDWAY AREA
Furthermore, people who live around Greenwich campus seem to have higher qualifications compared with those who live around Medway campus, in which for most of the LADs the majority of people do not have any qualification. It is true for Medway, Gravesham, Thurrok, Tonbridge and Mailing, Swale and Castle Point.
There are also significant differences regarding the occupation status between the LADs surrounding Medway and Greenwich campus. For example, while none of the LADs around Greenwich campus has Skilled Trades Occupations as dominant occupation, it is the most popular occupation for Medway and Swale LADs which surround Medway campus. For the other LADs surrounding Medway campus the dominant occupations are professional, elementary, and administrative and secretarialoccupations. Considering the LADs surrounding Greenwich campus instead, the dominant occupations are professional, elementary, and administrative and secretarialoccupations.
0
50000
100000
150000
200000
QUALIFICATION MEDWAY AREA
QUALIFICATION MEDWAY AREA(Clockwise direction)
F187
F188
F189
F190
F191
F192
F193
QUALIFICATION GREENWICH AREA(Clockwise direction)
F187
F188
F189
F190
F191
F192
F193
0
100000
200000
300000
400000
500000
QUALIFICATION GREENWICH AREA
Regarding instead the income, employment and average IMD rank, they result to be higher for people who live around Medway campus.
RANK OF INCOMERANK OF EMPLOYMENT
RANK OF AVERAGE
0
500
1000
1500
2000
MEDWAY AREA
RANK OF INCOMERANK OF EMPLOYMENT
RANK OF AVERAGE
0
100
200
300
400
500
GREENWICH AREA
OCCUPATION GREENWICH AREA
(Clockwise direction)
F404
F407
F410
F413
F416
F419
F422
F425
F428
0
50000
100000
150000
200000
OCCUPATION GREENWICH AREA
0
10000
20000
30000
40000
50000
60000
70000
OCCUPATION MEDWAY AREA
OCCUPATION MEDWAY AREA(Clockwise direction)
F404
F407
F410
F413
F416
F419
F422
F425
F428
10.Answer the following queries:
a. How many applicants are within 10km of each Campus?
Campus Number ofApplicants
Greenwich 12518Avery Hill 7847Medway 1263
b. How many applicants are within 10km of each Campus for each faculty?
Campus Faculty Number ofApplicants
Greenwich ACH 2955BUS 2417E&H 5411E&S 1682
Avery Hill ACH 1687BUS 1331E&H 3832E&S 939
Medway ACH 194BUS 86E&H 589E&S 389
c. How many applicants are within 10km of each gender?
Campus GenderNumber of Applicants
Greenwich M 5018F 7496
Avery Hill M 2982F 4862
Medway M 762F 499