SlideShare ist ein Scribd-Unternehmen logo
1 von 63
O IN
                       L J
                     IA
                  AT
                SP        Spatial Join
                          Calculating Number of Physician per Population


            2             GIS in Health and Planning
       2 01
     1/                   2012 Spring
3/                        Rutgers University
                          by Wansoo Im, Ph.D.
Download census tract 2000 file
-www.state.nj.us/dep/gis


Download Municipal boundaries
-https://njgin.state.nj.us


“doctor point location layer” (downlaod from Sakai )
Census tract map/Municipality boundaries



=>Add All Maps in Arc GIS
CENSUS TRACT : OPEN ATTRIBUTE TABLE
In order to see what kind of information it has
DOCTOR LOCATION LAYER : OPEN ATTRIBUTE TABLE
In order to see what kind of information it has
HOW TO JOIN LOCATIONAL DATA WITH DATA FROM
ANOTHER LAYER?

Based on the location, we will join doctor’s location into Census tract layer.
JOIN DOCTOR POINTS WITH CENSUS DATA LAYER
CLICK “DATA FROM ANOTHER LAYER BASED ON
SPATIAL LOCATION”
SELECT “THE LAYER(CENSUS TRACT)” WHICH YOU
WANT TO JOIN WITH DOCTOR LOCATION
SET THE DIRECTORY(LOCATION TO SAVE YOUR
SHAPEFILE) -> CLICK “SHAPEFILE”
OPEN ATTRIBUTE TABLE TO CHECK IF NEW
LAYER(DOCTOR CTR) IS SUCCESSFULLY JOINT
By opening attribute table, you can check if data from 2 original
   layers(doctor points/census tract information) are included into a
   newly-created shapefiles.
LOOK THROUGH DATA
EXCEL – PIVOT TABLE
Objectives :
We are going to export data from maps into dbf.
(dbf. File includes the information of table, therefore, all shapefiles
    including data in the table have dbf. file)
Open dbf. File in Excel
By using Pivot table, we will calculate the number of doctors by each
   census tract
(the number of doctors belonging to each census tract)
OPEN ATTRIBUTE TABLE OF DOC_CTR LAYER
Click the menu icon to export data from table.
EXPORT DATA “DBF. FORMAT FILE”
WHY WE EXPORT DATA FROM TABLE?
(DBF. FORMAT)
   Originally Doc_CTR shapefile already has one dbf.file, however, if we
      start to open it in the excel and modify, we can possibly affect the
      original map data as the table is directly linked to a map.
      Therefore, we would like to export data from the original table so as
      to create new dbf. File(so to speak, “copy” dbf. file). In this way, we
      can adjust data(by using a new dbf. File) in Excel regardless of
      affecting original data in the map.
OPEN -> CLICK “ALL FILES”-> CLICK “DBF FILE”
OPEN IN EXCEL
WE CAN USE EXCEL FOR DATA CALCULATION!
THE NUMBER OF DOCTORS WITHIN EACH OF CENSUS
TRACT.
Number of doctors in each of census tract.
How do we calculate?
USE UNIQUE ID TO JOIN “INDIVIDUAL DOCTOR LOCATION” WITHIN
   CENSUS TRACT
    – “KEY” FIELD OR “STFID”
   (CENSUS TRACT ID)
Why can’t we use Tract field? – Tract id is within County (Aggregate scale)
CLICK “INSERT” -> PIVOT TABLE
CLICK “PIVOT TABLE”
CLICK OK
THEN YOU WILL SEE THIS TABLE ;
DRAG “STFID” INTO ROW LABELS
DRAG “STFID” INTO VALUES
COPY THE TABLE
PASTE “VALUE” INTO NEW “SHEET”


Counting Case depending on variable that you
   chose.
In this case, Fivot Table counts the number of
    doctors depending on the Census Tract
    Area(Assigned by unique ID).
CLEAN THE DATA – FIRST ROW SHOULD INDICATE
THE NAME OF FIELD
CLEAN THE DATA – DELETE LAST ROW ; TOTAL
NUMBER
CHANGE “SHEET” NAME INTO DATA
Name that you can remember
No space/No special characters
(Arc GIS cannot recognize)
SAVE EXCEL FILE AND CLOSE IT
BEFORE JOINING IN ARC GIS PROGRAM
CENSUS TRACT LAYER- OPEN ATTRIBUTE BEFORE
JOINING DATA
JOIN THE TABLE
JOIN ATTRIBUTE FROM A TABLE
SELECT THE FIELD TO JOIN “STFID”
(UNIQUE CENSUS TRACT ID)
CLICK EXCEL FILE YOU SAVED
CLICK THE “SHEET” THAT YOU SAVED NEW DATA
(NO.DOCTORS BY CENSUS TRACT)
SELECT THE FIELD(STFID) FROM “DATA SHEET”
CHECK ATTRIBUTE TABLE TO MAKE SURE IF TABLE IS
JOINT WELL
There are some null data because this census tract is statewide while
   doctor location is located only within Middlesex county.
CALCULATE THE NUMBER OF DOCTORS PER
POPULATION WITHIN CENSUS TRACT
The number of doctor
The number of population
Let’s calculate doctors per population.
ADD A NEW FIELD
FIELD CALCULATION
ADD FIELD
10 digit/3decimal
CREATE NEW FIELD (FOR DOCTORS/POPULATION)
->RIGHT CLICK TO DO “FIELD CALCULATING”
FIELD CALCULATOR
But you will have 0 if denominator(total population2000=0) is 0


Select the data which population 2000 is more than 0


Use Field Calculator to use formula (number of
   doctors/population*100)
2 WAYS FOR SELECTION
1.      Select by Attribute
     select the layer “census 2000”, and select the field “population2000”
        put formula
Pop2000>0 ->click apply


2. Sorting Ascending in Attribute Table
Open Attribute table, sort the data regarding population 2000, and
    select data which is more than 0 in population 2000 field.
EX1) SELECTION BY SORTING POPULATION
EX2) SELECTION BY MENU (SELECTING BY
ATTRIBUTE)
Make sure if Population(denominator) is 0 not
FIELD CALCULATOR
RATE CALCULATION
– WHY 1000? INSTEAD 100?
IF THERE’S NULL DATA => ERROR!!!
Population should be over 0 AND
Number of doctors shouldn’t be null data


Therefore, number of doctor is more than 0 and calculate it again
(Assume that if there’s doctor, population is over 0)
YOU WILL GET NO.DOCTORS PER POPULATION
PERCENTAGE IN NEW FIELD YOU CREATED.
OUTCOME
UNSELECT DATA
GO TO SYMBOLOGY AND MAP IT OUT!
The number of doctors per population
EXPORT MIDDLESEX MUNICIPALITY FROM CENSUS
TRACT
SELECT MUNICIPAL OF MIDDLESEX COUNTY
EXPORT MIDDLESEX COUNTY CENSUS TRACT
Field : Double click “County”
Click “Unique value
County= Middlesex county
CHANGE DECIMAL DEGEE IN LEGEND
-> CLICK “LABEL” AND “FORMAT LABEL” CHANGE DECIMAL
DEGREE.
EXPORT MUNICIPAL BOUNDARY SHAPEFILE.
County = Middle sex
EXPORT MIDDLESEX COUNTY BOUNDARY SHAPEFILE.

Weitere ähnliche Inhalte

Was ist angesagt?

Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
Bobby Jones
 
C3 insight - Solving Whole of Government Data Challenges
C3 insight - Solving Whole of Government Data ChallengesC3 insight - Solving Whole of Government Data Challenges
C3 insight - Solving Whole of Government Data Challenges
C3Products
 

Was ist angesagt? (20)

Data analysis and Data Visualization using Microsoft Excel
Data analysis and Data Visualization using Microsoft ExcelData analysis and Data Visualization using Microsoft Excel
Data analysis and Data Visualization using Microsoft Excel
 
Using microsoft excel for weibull analysis
Using microsoft excel for weibull analysisUsing microsoft excel for weibull analysis
Using microsoft excel for weibull analysis
 
Data Configuration for Analysis with Matt Hansen at StatStuff
Data Configuration for Analysis with Matt Hansen at StatStuffData Configuration for Analysis with Matt Hansen at StatStuff
Data Configuration for Analysis with Matt Hansen at StatStuff
 
Advanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuffAdvanced Excel Features with Matt Hansen at StatStuff
Advanced Excel Features with Matt Hansen at StatStuff
 
Charts and pivot tables
Charts and pivot tablesCharts and pivot tables
Charts and pivot tables
 
The Advance Spreadsheet Skills
The Advance Spreadsheet SkillsThe Advance Spreadsheet Skills
The Advance Spreadsheet Skills
 
Analyzing data using application in MS Excel
Analyzing data using application in MS ExcelAnalyzing data using application in MS Excel
Analyzing data using application in MS Excel
 
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8iHEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
HEC-RAS LiDAR Cross Sections With Microstation SS3 V8i
 
CONNECTING BENTLEY AND ESRI TERRAIN DATA
CONNECTING BENTLEY AND ESRI TERRAIN DATA CONNECTING BENTLEY AND ESRI TERRAIN DATA
CONNECTING BENTLEY AND ESRI TERRAIN DATA
 
Excel Crash Course: Pivot Tables
Excel Crash Course: Pivot TablesExcel Crash Course: Pivot Tables
Excel Crash Course: Pivot Tables
 
How to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing SalesHow to use Pivot Table in Analyzing Sales
How to use Pivot Table in Analyzing Sales
 
Excel2002
Excel2002Excel2002
Excel2002
 
Pivot table
Pivot tablePivot table
Pivot table
 
C3 insight - Solving Whole of Government Data Challenges
C3 insight - Solving Whole of Government Data ChallengesC3 insight - Solving Whole of Government Data Challenges
C3 insight - Solving Whole of Government Data Challenges
 
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
Interactivity on Excel Using Pivoting, Dashboards, “Index and Match,” and Glo...
 
Dissecting How to Choose the Right Chart
Dissecting How to Choose the Right ChartDissecting How to Choose the Right Chart
Dissecting How to Choose the Right Chart
 
ABCi Charts - Runcharts Tool user guide
ABCi Charts - Runcharts Tool user guide ABCi Charts - Runcharts Tool user guide
ABCi Charts - Runcharts Tool user guide
 
Pivot Table & Chart_Parakramesh Jaroli_Pacific University
Pivot Table & Chart_Parakramesh Jaroli_Pacific UniversityPivot Table & Chart_Parakramesh Jaroli_Pacific University
Pivot Table & Chart_Parakramesh Jaroli_Pacific University
 
Data visualization data sources data types
Data visualization   data sources   data typesData visualization   data sources   data types
Data visualization data sources data types
 
Dealing with data-excel
Dealing with data-excelDealing with data-excel
Dealing with data-excel
 

Andere mochten auch

Land Use/Land Cover Detection
Land Use/Land Cover DetectionLand Use/Land Cover Detection
Land Use/Land Cover Detection
Wansoo Im
 

Andere mochten auch (11)

Serving Communities and Learning GIS Technology
Serving Communities and Learning GIS TechnologyServing Communities and Learning GIS Technology
Serving Communities and Learning GIS Technology
 
How to load geocoded points to Mappler
How to load geocoded points to MapplerHow to load geocoded points to Mappler
How to load geocoded points to Mappler
 
How to Map CDC Wonder Data (Asthma Mortality Example)
How to Map CDC Wonder Data (Asthma Mortality Example)How to Map CDC Wonder Data (Asthma Mortality Example)
How to Map CDC Wonder Data (Asthma Mortality Example)
 
Woodbridge Community Mapping 2009
Woodbridge Community Mapping 2009Woodbridge Community Mapping 2009
Woodbridge Community Mapping 2009
 
How to geocode using AbbyisQueen
How to geocode using AbbyisQueenHow to geocode using AbbyisQueen
How to geocode using AbbyisQueen
 
공공참여형GIS: 웹과앱에 활용하기
공공참여형GIS: 웹과앱에 활용하기공공참여형GIS: 웹과앱에 활용하기
공공참여형GIS: 웹과앱에 활용하기
 
IMRivers Description
IMRivers DescriptionIMRivers Description
IMRivers Description
 
Hospital Market Analysis by using ArcGIS
Hospital Market Analysis by using ArcGISHospital Market Analysis by using ArcGIS
Hospital Market Analysis by using ArcGIS
 
Creating Map with Census Data
Creating Map with Census DataCreating Map with Census Data
Creating Map with Census Data
 
Finding lat & lon and create a shapefile
Finding lat & lon and create a shapefileFinding lat & lon and create a shapefile
Finding lat & lon and create a shapefile
 
Land Use/Land Cover Detection
Land Use/Land Cover DetectionLand Use/Land Cover Detection
Land Use/Land Cover Detection
 

Ähnlich wie Join location from another layer pivot table

Pivot tableinfo
Pivot tableinfoPivot tableinfo
Pivot tableinfo
KA25EE855
 
Experiment parts technology2008
Experiment parts technology2008Experiment parts technology2008
Experiment parts technology2008
rylempty
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06
Alam Khan
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
Nitish Nagar
 
Excel pivot tables (1)
Excel pivot tables (1)Excel pivot tables (1)
Excel pivot tables (1)
priyanka8587
 

Ähnlich wie Join location from another layer pivot table (20)

Pivot tableinfo
Pivot tableinfoPivot tableinfo
Pivot tableinfo
 
Percentiles and Deciles
Percentiles and DecilesPercentiles and Deciles
Percentiles and Deciles
 
Excel Datamining Addin Advanced
Excel Datamining Addin AdvancedExcel Datamining Addin Advanced
Excel Datamining Addin Advanced
 
Excel Datamining Addin Advanced
Excel Datamining Addin AdvancedExcel Datamining Addin Advanced
Excel Datamining Addin Advanced
 
Pivot tableinfo
Pivot tableinfoPivot tableinfo
Pivot tableinfo
 
Experiment parts technology2008
Experiment parts technology2008Experiment parts technology2008
Experiment parts technology2008
 
stats
statsstats
stats
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06
 
Microsoft excel tutorial06
Microsoft excel tutorial06Microsoft excel tutorial06
Microsoft excel tutorial06
 
Arcgis training day_1
Arcgis training day_1Arcgis training day_1
Arcgis training day_1
 
Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table Ms excel basic about Data, graph and pivot table
Ms excel basic about Data, graph and pivot table
 
Spreadsheet for Year 8
Spreadsheet for Year 8Spreadsheet for Year 8
Spreadsheet for Year 8
 
Exercise 6
Exercise 6Exercise 6
Exercise 6
 
paper438
paper438paper438
paper438
 
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
4b6c1c5c-e913-4bbf-b3a4-41e23cb961ba-161004200047.pdf
 
Rclass
RclassRclass
Rclass
 
Data analysis training
Data analysis trainingData analysis training
Data analysis training
 
Excel booklet
Excel bookletExcel booklet
Excel booklet
 
Excel pivot tables (1)
Excel pivot tables (1)Excel pivot tables (1)
Excel pivot tables (1)
 
What is my neighbourhood like
What is my neighbourhood likeWhat is my neighbourhood like
What is my neighbourhood like
 

Mehr von Wansoo Im (7)

Session10
Session10Session10
Session10
 
Exercise 2
Exercise 2Exercise 2
Exercise 2
 
Exercise 4
Exercise 4Exercise 4
Exercise 4
 
Exercise 3
Exercise 3Exercise 3
Exercise 3
 
Woodbridge Community Mapping
Woodbridge Community MappingWoodbridge Community Mapping
Woodbridge Community Mapping
 
A Framework for Geospatial Web Services for Public Health by Dr. Leslie Lenert
A Framework for Geospatial Web Services for Public Health by Dr. Leslie LenertA Framework for Geospatial Web Services for Public Health by Dr. Leslie Lenert
A Framework for Geospatial Web Services for Public Health by Dr. Leslie Lenert
 
UGIC 2009 Conference
UGIC 2009 ConferenceUGIC 2009 Conference
UGIC 2009 Conference
 

Kürzlich hochgeladen

Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
baharayali
 
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our EscortsVIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
sonatiwari757
 
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
baharayali
 
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
makhmalhalaaay
 
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Amil Baba Naveed Bangali
 
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
Amil Baba Naveed Bangali
 

Kürzlich hochgeladen (20)

St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024St John's Church Parish Diary for May 2024
St John's Church Parish Diary for May 2024
 
The_Chronological_Life_of_Christ_Part_99_Words_and_Works
The_Chronological_Life_of_Christ_Part_99_Words_and_WorksThe_Chronological_Life_of_Christ_Part_99_Words_and_Works
The_Chronological_Life_of_Christ_Part_99_Words_and_Works
 
The Revelation Chapter 4 Working Copy.docx
The Revelation Chapter 4 Working Copy.docxThe Revelation Chapter 4 Working Copy.docx
The Revelation Chapter 4 Working Copy.docx
 
"The Magnificent Surah Rahman: PDF Version"
"The Magnificent Surah Rahman: PDF Version""The Magnificent Surah Rahman: PDF Version"
"The Magnificent Surah Rahman: PDF Version"
 
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
Top Kala Jadu, Bangali Amil baba in Lahore and Kala jadu specialist in Lahore...
 
English - The Forgotten Books of Eden.pdf
English - The Forgotten Books of Eden.pdfEnglish - The Forgotten Books of Eden.pdf
English - The Forgotten Books of Eden.pdf
 
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptxMEIDUNIDADE COM JESUS  PALESTRA ESPIRITA1.pptx
MEIDUNIDADE COM JESUS PALESTRA ESPIRITA1.pptx
 
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxxFrom The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
From The Heart v8.pdf xxxxxxxxxxxxxxxxxxx
 
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our EscortsVIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
VIP mohali Call Girl 7001035870 Enjoy Call Girls With Our Escorts
 
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
Famous Kala Jadu, Black magic specialist in Lahore and Kala ilam expert in ka...
 
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
+92343-7800299 No.1 Amil baba in Pakistan amil baba in Lahore amil baba in Ka...
 
Study of the Psalms Chapter 1 verse 3 - wanderean
Study of the Psalms Chapter 1 verse 3 - wandereanStudy of the Psalms Chapter 1 verse 3 - wanderean
Study of the Psalms Chapter 1 verse 3 - wanderean
 
Vashikaran Specialist in London Black Magic Removal No 1 Astrologer in UK
Vashikaran Specialist in London Black Magic Removal No 1 Astrologer in UKVashikaran Specialist in London Black Magic Removal No 1 Astrologer in UK
Vashikaran Specialist in London Black Magic Removal No 1 Astrologer in UK
 
Flores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understandFlores de Mayo-history and origin we need to understand
Flores de Mayo-history and origin we need to understand
 
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
Professional Amil baba, Kala jadu specialist in Multan and Kala ilam speciali...
 
A Spiritual Guide To Truth v10.pdf xxxxxxx
A Spiritual Guide To Truth v10.pdf xxxxxxxA Spiritual Guide To Truth v10.pdf xxxxxxx
A Spiritual Guide To Truth v10.pdf xxxxxxx
 
May 2024 Calendar of Events for Hope Lutheran Church
May 2024 Calendar of Events for Hope Lutheran ChurchMay 2024 Calendar of Events for Hope Lutheran Church
May 2024 Calendar of Events for Hope Lutheran Church
 
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
Top 10 Amil baba list Famous Amil baba In Pakistan Amil baba Kala jadu in Raw...
 
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
Best Astrologer Vashikaran Specialist in Germany and France Black Magic Exper...
 
St. Louise de Marillac and Abandoned Children
St. Louise de Marillac and Abandoned ChildrenSt. Louise de Marillac and Abandoned Children
St. Louise de Marillac and Abandoned Children
 

Join location from another layer pivot table

  • 1. O IN L J IA AT SP Spatial Join Calculating Number of Physician per Population 2 GIS in Health and Planning 2 01 1/ 2012 Spring 3/ Rutgers University by Wansoo Im, Ph.D.
  • 2. Download census tract 2000 file -www.state.nj.us/dep/gis Download Municipal boundaries -https://njgin.state.nj.us “doctor point location layer” (downlaod from Sakai ) Census tract map/Municipality boundaries =>Add All Maps in Arc GIS
  • 3. CENSUS TRACT : OPEN ATTRIBUTE TABLE In order to see what kind of information it has
  • 4. DOCTOR LOCATION LAYER : OPEN ATTRIBUTE TABLE In order to see what kind of information it has
  • 5. HOW TO JOIN LOCATIONAL DATA WITH DATA FROM ANOTHER LAYER? Based on the location, we will join doctor’s location into Census tract layer.
  • 6. JOIN DOCTOR POINTS WITH CENSUS DATA LAYER
  • 7. CLICK “DATA FROM ANOTHER LAYER BASED ON SPATIAL LOCATION”
  • 8. SELECT “THE LAYER(CENSUS TRACT)” WHICH YOU WANT TO JOIN WITH DOCTOR LOCATION
  • 9. SET THE DIRECTORY(LOCATION TO SAVE YOUR SHAPEFILE) -> CLICK “SHAPEFILE”
  • 10. OPEN ATTRIBUTE TABLE TO CHECK IF NEW LAYER(DOCTOR CTR) IS SUCCESSFULLY JOINT By opening attribute table, you can check if data from 2 original layers(doctor points/census tract information) are included into a newly-created shapefiles.
  • 12. EXCEL – PIVOT TABLE Objectives : We are going to export data from maps into dbf. (dbf. File includes the information of table, therefore, all shapefiles including data in the table have dbf. file) Open dbf. File in Excel By using Pivot table, we will calculate the number of doctors by each census tract (the number of doctors belonging to each census tract)
  • 13. OPEN ATTRIBUTE TABLE OF DOC_CTR LAYER Click the menu icon to export data from table.
  • 14. EXPORT DATA “DBF. FORMAT FILE”
  • 15. WHY WE EXPORT DATA FROM TABLE? (DBF. FORMAT) Originally Doc_CTR shapefile already has one dbf.file, however, if we start to open it in the excel and modify, we can possibly affect the original map data as the table is directly linked to a map. Therefore, we would like to export data from the original table so as to create new dbf. File(so to speak, “copy” dbf. file). In this way, we can adjust data(by using a new dbf. File) in Excel regardless of affecting original data in the map.
  • 16. OPEN -> CLICK “ALL FILES”-> CLICK “DBF FILE”
  • 18. WE CAN USE EXCEL FOR DATA CALCULATION!
  • 19. THE NUMBER OF DOCTORS WITHIN EACH OF CENSUS TRACT. Number of doctors in each of census tract. How do we calculate?
  • 20. USE UNIQUE ID TO JOIN “INDIVIDUAL DOCTOR LOCATION” WITHIN CENSUS TRACT – “KEY” FIELD OR “STFID” (CENSUS TRACT ID) Why can’t we use Tract field? – Tract id is within County (Aggregate scale)
  • 21. CLICK “INSERT” -> PIVOT TABLE
  • 24. THEN YOU WILL SEE THIS TABLE ;
  • 25. DRAG “STFID” INTO ROW LABELS
  • 28. PASTE “VALUE” INTO NEW “SHEET” Counting Case depending on variable that you chose. In this case, Fivot Table counts the number of doctors depending on the Census Tract Area(Assigned by unique ID).
  • 29. CLEAN THE DATA – FIRST ROW SHOULD INDICATE THE NAME OF FIELD
  • 30. CLEAN THE DATA – DELETE LAST ROW ; TOTAL NUMBER
  • 31. CHANGE “SHEET” NAME INTO DATA Name that you can remember No space/No special characters (Arc GIS cannot recognize)
  • 32. SAVE EXCEL FILE AND CLOSE IT BEFORE JOINING IN ARC GIS PROGRAM
  • 33. CENSUS TRACT LAYER- OPEN ATTRIBUTE BEFORE JOINING DATA
  • 36. SELECT THE FIELD TO JOIN “STFID” (UNIQUE CENSUS TRACT ID)
  • 37. CLICK EXCEL FILE YOU SAVED
  • 38. CLICK THE “SHEET” THAT YOU SAVED NEW DATA (NO.DOCTORS BY CENSUS TRACT)
  • 39. SELECT THE FIELD(STFID) FROM “DATA SHEET”
  • 40. CHECK ATTRIBUTE TABLE TO MAKE SURE IF TABLE IS JOINT WELL There are some null data because this census tract is statewide while doctor location is located only within Middlesex county.
  • 41. CALCULATE THE NUMBER OF DOCTORS PER POPULATION WITHIN CENSUS TRACT The number of doctor The number of population Let’s calculate doctors per population.
  • 42. ADD A NEW FIELD
  • 45. CREATE NEW FIELD (FOR DOCTORS/POPULATION) ->RIGHT CLICK TO DO “FIELD CALCULATING”
  • 46. FIELD CALCULATOR But you will have 0 if denominator(total population2000=0) is 0 Select the data which population 2000 is more than 0 Use Field Calculator to use formula (number of doctors/population*100)
  • 47. 2 WAYS FOR SELECTION 1. Select by Attribute select the layer “census 2000”, and select the field “population2000” put formula Pop2000>0 ->click apply 2. Sorting Ascending in Attribute Table Open Attribute table, sort the data regarding population 2000, and select data which is more than 0 in population 2000 field.
  • 48. EX1) SELECTION BY SORTING POPULATION
  • 49. EX2) SELECTION BY MENU (SELECTING BY ATTRIBUTE) Make sure if Population(denominator) is 0 not
  • 51. RATE CALCULATION – WHY 1000? INSTEAD 100?
  • 52. IF THERE’S NULL DATA => ERROR!!! Population should be over 0 AND Number of doctors shouldn’t be null data Therefore, number of doctor is more than 0 and calculate it again (Assume that if there’s doctor, population is over 0)
  • 53. YOU WILL GET NO.DOCTORS PER POPULATION PERCENTAGE IN NEW FIELD YOU CREATED.
  • 56. GO TO SYMBOLOGY AND MAP IT OUT! The number of doctors per population
  • 57. EXPORT MIDDLESEX MUNICIPALITY FROM CENSUS TRACT
  • 58. SELECT MUNICIPAL OF MIDDLESEX COUNTY
  • 59. EXPORT MIDDLESEX COUNTY CENSUS TRACT Field : Double click “County” Click “Unique value County= Middlesex county
  • 60.
  • 61. CHANGE DECIMAL DEGEE IN LEGEND -> CLICK “LABEL” AND “FORMAT LABEL” CHANGE DECIMAL DEGREE.
  • 62. EXPORT MUNICIPAL BOUNDARY SHAPEFILE. County = Middle sex
  • 63. EXPORT MIDDLESEX COUNTY BOUNDARY SHAPEFILE.