Introduction to PROC GMap Presentation by Andrea Boan BMTRY 789.

Slides:



Advertisements
Similar presentations
Get Started with GIS Mapping Part 2 of 3 Madhu Lakshmanan.
Advertisements

Summary Statistics/Simple Graphs in SAS/EXCEL/JMP.
Introduction to GRCP Boualem RABTA Center for World Food Studies (SOW-VU) Vrije Universiteit - Amsterdam.
5/1/ Quick and Dirty Excel® Workbooks Without DDE or ODS Andrea Zimmerman, Capital One, Richmond, VA.
Guide to extract/download multiple databases from Mainframe Tapes to PC using SAS PC Fereydoun J. Foroudian Blue Cross of California SAS is a registered.
Historic Digimap Historical maps and data from the Ordnance Survey maps from the 1840s to the 1990s.
Permanent Formats and Working Across Platforms. 32bit vs. 64 bit SAS The different versions of SAS optimize datasets and formats to work as fast as possible.
BioChip Arrayer Appendix I1 - BC Array Designer NEW OPEN SAVE ARROW ASPIRATE 4 WELLS ASPIRATE MANY WELLS ZOOM ADD RACK DELETE RACK ADD LOOP PROPERTIES.
Income Tax E-filing website :
Lesson 13 Another MACRO Example MAP Plotting. Macro Example Goal of Macro named Summary: For a given dataset give summary statistics using PROC CONTENTS,
EPLS Lab Software Orientation SAS. Orientation Overview Background Getting Started SAS Windows.
FORMAT FESTIVAL AN INTRODUCTION TO SAS® FORMATS AND INFORMATS By David Maddox.
Introduction to ANSYS 6.0 Part 2
Highly Confidential – for UCRE Affiliate Use Only 2015 Regional Training Class Embedding maps on the listing page of your United Country office website.
Statistical Discovery. TM From SAS. JMP ® Software: Introduction to Categorical Data Analysis.
Chapter 1: Introduction to Web
Web Technologies Website Development Trade & Industrial Education
Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation.
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
Hancock County Schools Staff Development Website An Introduction to Online Staff Development Registration Copyright © Hancock County Schools 2004.
Creating Maps with SAS/GRAPH - Drill Downs, Pop-Ups, and Animation.
Niraj J. Pandya, Element Technologies Inc., NJ.  Summarize all possible combinations of class level variables even if few categories are altogether missing.
Copyright © 2008 SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
Copyright © 2010, SAS Institute Inc. All rights reserved. Applied Analytics Using SAS ® Enterprise Miner™
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
Point & Edit CMS An Introduction to Point & Edit.
Setting Up RMC for Catalyst March 19, Pre-requisites If getting Catalyst Admin support for installing RMS, register at IBM first and get a user.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Summer SAS Workshop Lecture 2. Summer Summer SAS Workshop Lecture 2 I’ve got Data…how do I get started? Libname Review How do you do arithmetic.
Part 2A (Today’s Part) Press and hold the small red button to turn receiver on Once the receiver acquires its position, press the page button until the.
Introduction to Scanning. © 2005 Macromedia, Inc. 2 Overview of Scanning Four key steps  Plan  Capture  Edit  Save.
Posting Narrated PowerPoint Slides on You Tube Charles J. Ansorge April 2006.
Writing and Reading XML files with SAS (Statistical Analysis System) What is SAS ? SAS Institute (or SAS, pronounced "sass") is an American developer of.
Copyright © 2015, SAS Institute Inc. All rights reserved. THE ELEPHANT IN THE ROOM SAS & HADOOP.
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® Using the SAS Grid.
How to start using SAS SARBAJIT MUKHERJEE. WHAT IS SAS? SAS stands for Statistical Analysis System. Useful for the following types of task: 1. Data entry,
Census Transportation Planning Products CTPP Access Software.
EXPLICIT DYNAMICS with ANSYS/LS-DYNA
ms RELIUS GOVERNMENT FORMS ©2010SunGard. Trademark Information: SunGard, the SunGard logo, and Relius are trademarks.
Gmap download step.
Estimating Crop ET from Satellite Section 1. download satellite data and visualization-V8.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
Center for Surveillance, Epidemiology, and Laboratory Services Division of Health Informatics and Surveillance José Aponte Public Health Advisor Companion.
Creating Geographic Rating Area Maps: How to Combine Counties, Split Counties, & use Zip Code Boundaries Rick Andrews Office of the Actuary Centers for.
Introduction to ANSYS 6.0 Part 1
How to Generate Online Reports using WBTi Toolkit.
How to access ELHS Media Center Library Online Resources Stuff we pay for.
SAS Programming Training Instructor:Greg Grandits TA: Textbooks:The Little SAS Book, 5th Edition Applied Statistics and the SAS Programming Language, 5.
CMS SAS Users Group Conference Learn more about THE POWER TO KNOW ® October 17, 2011 PROC GMAP, HTML and You Thomas Kornfield, CMS.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
Copyright © 2008, SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
Text2PTO: Modernizing Patent Application Filing A Proposal for Submitting Text Applications to the USPTO.
Copyright 2009 The Little Engine That Could: Using EXCEL LIBNAME Engine Options to Enhance Data Transfers between SAS® and Microsoft® Excel Files William.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Better Metadata Through SAS® II: %SYSFUNC, PROC DATASETS, and Dictionary Tables.
HTML HyperText Markup Language. 1.Introduction  HTML is used to describe web pages.  HTML stands for Hyper Text Markup Language.  Tim Berners-Lee and.
Geocoding and Georeferencing
PLEASE USE THIS TEMPLATE TO CREATE PRESENTATIONS USING THE WVU BRAND.
Poster Title Author #1 name, ABC Corporation, City, Country Author #2 name, ABC Corporation, City, Country Abstract A brief abstract at the beginning summarizes.
Lesson 13 More SGPLOT examples MAP Plotting Questions.
RETRIEVING CENSUS DATA
How to Use Members Area of The Ninety-Nines Website
Poster Title Author #1 name, ABC Corporation, City, Country Author #2 name, ABC Corporation, City, Country Abstract A brief abstract at the beginning summarizes.
Tech Drop In: Google Drive
PROC DOC III: Self-generating Codebooks Using SAS®
Citation Map Visualizing citation data in the Web of Science
Making Remote Processing Less Remote
Presentation transcript:

Introduction to PROC GMap Presentation by Andrea Boan BMTRY 789

Map of US with LA and NYC Too Skinny Too Fat

Proc GMap  Produces two basic kinds of maps:  Two-dimensional – choropleth maps  Three-dimensional - block, prism, and surface  Use to create color maps to show variations value with respect to an area  SAS/GRAPH software – provides an extensive assortment of map data sets and codes  Use the GMAP procedure to:  Produce maps  Summarize data by physical area  Show geographical trends and variations  Emphasize regional differences

Four Basic Types of Maps Block Map Prism Map Surface Map

Forth Type of Map (we will learn to make today) Two-dimensional Choropleth Maps

Finding Proc GMap in SAS Help Doc 1. SAS Help and Documentation 2. SAS Products 3. SAS/Graphs 4. SAS/Graphs Reference 5. SAS/Graphs Procedures 6. The GMap Procedure This will provide basic information and basic examples along with formatting options

Getting SAS Data for Maps Go to the Official SAS Website and register an account: = MyProfile The go to:  Download Software  SAS/GRAPH Software  Maps Online  Version 6.12 Maps – Top Left Side Panel  Scroll down to desired country  For This example select the last US data available  Select Data or Code  Click Request Download  Click Accept on terms and conditions

You Should see something that looks like this screen DescriptionFile Name Releas e Date Size GIF image, SAS Code, DATA set uscounty.z ip Oct K B Click Download Save to a File

CIMPORT Procedure libname maps "C:\Data"; ***************************************************************\ | Copyright (C) 2002 by SAS Institute Inc., Cary, NC, USA. | | | | SAS (R) is a registered trademark of SAS Institute Inc. | | | | SAS Institute does not assume responsibility for the accuracy of | | any material presented in this file. | \***************************************************************/ /* Using the CIMPORT procedure to import SAS tables */ /*************************************************************** ***** * Since the transport files are created by PROC CPORT, you need to * * Since the transport files are created by PROC CPORT, you need to * * use PROC CIMPORT to process the transport file. You can import * * files to a release SAME as or HIGHER than the release used to * * create the transport file. * ************************************************************ ********/ ************************************************************ ********/ /*************************************************************** ***** * Example 1: * * Example 1: * * PROC CIMPORT uses the file given in the INFILE= option as input * * PROC CIMPORT uses the file given in the INFILE= option as input * * and writes/unpacks/copies all data sets found in the transport * * and writes/unpacks/copies all data sets found in the transport * * file to the directory referenced by the libref SASFILES. * * file to the directory referenced by the libref SASFILES. * ************************************************************ ********/ ************************************************************ ********/ After downloading and unzipping SAS tables you must take them out of transport format by running the CIMPORT procedure Change Libname to =Maps libname sasfiles 'c:\myfiles'; proc cimport infile='C:\Data\uscounty.cpt' library=maps; proc cimport infile='C:\Data\uscounty.cpt' library=maps; run; run;

SAS GMap Data Sets Data Set we are using:  USCounty – raw plotting data  Cntyname – just county name variable Proc GProject = processes traditional map data sets by converting spherical coordinates (longitude and latitude) into Cartesian coordinates for use by the GMAP procedure Choro = tells SAS which type of map to make – a Two-dimensional Map Choro = tells SAS which type of map to make – a Two-dimensional Choropleth Map

PROC GMap Code 1.Rename Data to get SC only from maps.Cntyname 2.To get county names 3.SC = State = 45 4.Rename Data to get SC data from maps.uscounty 5.SC = State = 45 6.Proc Gproject – map is inverted in SAS so have to project it. 7.Out = scmap by county 8.Proc GMap – gives Cholopleth map of SC colored by county 9.Choro by countynm

Questions