Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of...
Transcript of Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of...
![Page 1: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/1.jpg)
Lab 3Data Sources:
Locating, Importing, Manipulating
URBPL 5/6010: Urban ResearchUniversity of Utah
Pam PerlichRevised 9/10/2006
![Page 2: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/2.jpg)
ObjectivesPasting from other programsImporting from other programs
TextHTMLPictureDatabase
Federal statistical agency web sites
![Page 3: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/3.jpg)
Files for Lab 3CopyData.docCopyData.txtTextColumns.xls Database.mdb
![Page 4: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/4.jpg)
Link Data to Other Programs CopyData.doc
Open the word fileSelect the text to be copiedOpen Excel – Explore different paste options
PastePaste special
TextMS word objectMS word object paste link
Change text in original document and it will update in the spreadsheet as well.
Picture
Go to a website and copy a graphicPaste this into Excel
![Page 5: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/5.jpg)
Importing Delimited Text Data
CopyData.txt
Open CopyData.txt in a text editor and examine contentsData => Import (as delimited)Files can be comma, quote, comma and quote, or tab delimitedDelimiters interpret and format the data
![Page 6: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/6.jpg)
Importing Fixed Width Data
www.census.govSelect People & Households Historical Census Data Item 17: Urban and Rural Populations: 1900 to 1990Save this file to your computer (urpop0090.txt)Examine the file in a text editorImport it to Excel
Note: the title lines are not important. Just import the data to create a clean data set. It is a fixed width file.
![Page 7: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/7.jpg)
Changing Text to Columns TextColumns.xls
Open the fileSelect the cell that contain dataData =>Text to columnsFixed widthSpecify dividing columnsFinish
![Page 8: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/8.jpg)
Import Database Files Database.mdb
Open ExcelData => Import External Data => Import DataPoint to the database fileExamine the “properties” choicesImport to a new worksheetExplore the record based nature of a database file
![Page 9: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/9.jpg)
Web FilesImport from a web page
Data => import external data => new web queryNavigate to www.bls.gov
Select any page of data and import
Alternative methodsTry to copy a data table from the web site and paste into ExcelSave data as HTML file then import it to Excel
Many organizations are building much better data downloading functionality into their websites.
![Page 10: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/10.jpg)
File ExportExplore the file save as optionsTry a few of these to test the results.
![Page 11: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/11.jpg)
Federal Statistical Agencies
Bureau of the CensusBureau of Labor StatisticsBureau of Economic Analysis
![Page 12: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/12.jpg)
American Factfinder
www.census.govAmerican Factfinder
Click on “About the Data” and review the contents
Types of tables – Quick tables, geographic comparison tables, etc.Data sets – Decennial census, ACS, etc.
Select each top level menu and examine contents – Population finder, fact sheet, etc.
![Page 13: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/13.jpg)
Select Decennial
Census
![Page 14: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/14.jpg)
List all tables
![Page 15: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/15.jpg)
AFF Features – Project 2Data sets Decennial Census Census 2000 SF1 List all tablesStudy the types – Quick tables, geographic comparison table, detailed tables (population and household)Select P37: Group Quarters Population by Group Quarters Type Next
![Page 16: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/16.jpg)
Select Geo within Geo
![Page 17: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/17.jpg)
Select “All Places”
Then “Add”
Then “Show Result”
![Page 18: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/18.jpg)
![Page 19: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/19.jpg)
![Page 20: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/20.jpg)
AFF: Custom Tables & Geo within Geo
Select data sets to return to data menuSelect SF1 Custom TablesSelect “Geo within Geo”Show me all the “Places” within a “County” Select geography of your choiceSelect P1 – Population; P37 – Population in Group Quarters; P16 – Population in HouseholdsSelect which data elements you need Show results.Explore the filtering optionGet you data into Excel and format it
![Page 21: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/21.jpg)
![Page 22: Lab 3 Data Sources: Locating, Importing, Manipulating URBPL 5/6010: Urban Research University of Utah Pam Perlich Revised 9/10/2006.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551c56f5550346a5458b4ffd/html5/thumbnails/22.jpg)
AFF: Explore Other Available Data Sets and Functions
Click “FAQ”Click “How to Use it”
Spend some time reviewing this
If students have specific research issues, have the lab assemble the data.