1 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files.

Slides:



Advertisements
Similar presentations
Database Basics. What is Access? Database management system Computer-based equivalent of a manual database Makes it easy to organize and update information.
Advertisements

Office Links - Sharing Data in Microsoft Office A Mixed Bag of Treasures Chester N. Barkan Registrar Long Island University, C.W.Post Campus.
MS-Access XP Lesson 1. Introduction to MS-Access Database Management System Software (DBMS) Store data in databases Database is a collection of table.
XP New Perspectives on Microsoft Office Excel 2003 Tutorial 1 1 Microsoft Office Excel 2003 Tutorial 1 – Using Excel To Manage Data.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Chapter 7 Data Management. Agenda Database concept Import data Input and edit data Sort data Function Filter data Create range name Calculate subtotal.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 1 Microsoft Office Excel 2003 Tutorial 1 – Using Excel To Manage Data.
Chapter 1 Introduction to Spreadsheet. Agenda Download the practice files Spreadsheet application Workbook and worksheet Toolbar Cell Formatting Printing.
1 Committed to Shaping the Next Generation of IT Experts. Chapter 3 – Graphs and Charts: Delivering a Message Robert Grauer and Maryann Barber Exploring.
Introduction to SPSS Descriptive Statistics. Introduction to SPSS Statistics Program for the Social Sciences (SPSS) Commonly used statistical software.
FIRST COURSE Access Tutorial 2 Building a Database and Defining Table Relationships.
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Excel 2007 Part (2) Dr. Susan Al Naqshbandi
131 Agenda Overview Review Roles Lists Libraries Columns.
11 Chapter 3: Getting Started with Tasks 3.1 Introduction to Tasks and Wizards 3.2 Creating a Frequency Report 3.3 Generating HTML, PDF, and RTF Output.
Lesson 1 – Microsoft Excel The goal of this lesson is for students to successfully explore and describe the Excel window and to create a new worksheet.
11 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Importing Text Files 2.4 Editing Tables in the.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Chapter 2: Working with Data in a Project
Access Lesson 2 Creating a Database
Unit J: Creating a Database Microsoft Office Illustrated Fundamentals.
1 Chapter 5: Creating Summarized Output 5.1 Generating Summary Statistics 5.2 Creating a Summary Report with the Summary Tables Task 5.3 Creating and Applying.
XP Spreadsheet Presentation. XP Objectives Understand the use of spreadsheets and Excel Learn the parts of the Excel window Scroll through a worksheet.
1 Chapter 4: Creating Simple Queries 4.1 Introduction to Querying Data 4.2 Filtering and Sorting Data 4.3 Creating New Columns with an Expression 4.4 Grouping.
1 Lesson 22 Getting Started with Access Essentials Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Microsoft Access Get a green book. Page AC 2 Define Access Define database.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
Lesson 17 Getting Started with Access Essentials
® Microsoft Office 2010 Excel Tutorial 1: Getting Started with Excel.
® Microsoft Access 2010 Tutorial 2 Building a Database and Defining Table Relationships.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 23 Getting Started with Access Essentials 1 Morrison / Wells / Ruffolo.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
Lesson 11: Looking at Files and Folders what a file or folder is on the computer how to recognize a file or folder on the desktop how to recognize the.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
A Skills Approach Access 2010 Working with Tables © 2012 The McGraw-Hill Companies, Inc. All rights reserved Chapter 2.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
1 Chapter 6: Using Prompts in Tasks and Queries 6.1 Prompting in Projects 6.2 Creating and Using Prompts in Tasks 6.3 Creating and Using Prompts in Queries.
1 Chapter 4: Creating Simple Queries 4.1 Introduction to the Query Task 4.2 Selecting Columns and Filtering Rows 4.3 Creating New Columns with an Expression.
1 Chapter 7: Customizing and Organizing Project Results 7.1 Combining Results 7.2 Updating Results 7.3 Customizing the Output Style (Self-Study)
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
Microsoft® Excel Create an Excel table. 1 Work with the Table Tools Design tab. 2 Sort and filter records in a table. 3 Identify structured references.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 6 BACKNEXTEND 6-1 LINKS TO OBJECTIVES Using the Report Button Using the Report Button Print.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
1 Chapter 1: Getting Started 1.1 Introducing SAS Enterprise Guide 1.2 Course Scenarios.
21 Copyright © 2009, Oracle. All rights reserved. Working with Oracle Business Intelligence Answers.
COMPUTER SKILLS MS-ACCESS. Introduction Access is a piece of software known as a database management system. At its most basic level, it can be used to.
Learning SAS Dr. Chaitali Basu Mukherji. What is SAS? SAS software started out in 1970s as a software package for statistical analysis By mid-1980s SAS.
1 Word Processing Intermediate Using Microsoft Office 2000.
Access Tutorial 2 Building a Database and Defining Table Relationships
Chapter 6 Modifying Cell Styles
GO! with Microsoft Office 2016
University of technology Department of Materials Engineering
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
2 At the top of the zone in which you want to add the Web Part, click Add a Web Part. In the Add Web Parts to [zone] dialog box, select the check box of.
GO! with Microsoft Access 2016
ESRM 250/CFR 520 Autumn 2009 Phil Hurvitz
Unit J: Creating a Database
Lesson 13 Working with Tables
Presentation transcript:

1 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

2 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

3 Objectives State the definition of a SAS table. State how data is stored in a SAS table.

4 Introduction To begin work with SAS Enterprise Guide, you 1. create a project 2. add data to the project 3. run tasks against the data. Additionally, you can 4. customize results 5. automate the process.

5 Microsoft Excel spreadsheets dBASE files HTML tables ODBC- compliant data OLE DB provider’s files Microsoft Access tables Fixed-width and delimited text files Common Data Formats SAS Enterprise Guide can read and use data from a variety of different formats. SAS tables

6 SAS Data Tables A SAS data table is a rectangular table of rows and columns. Columns (variables) Rows (observations)

7 SAS Data Tables All columns must have a name, type, and length. Names can be 1 to 32 characters long.

8 A column’s type is either character or numeric. The type plays a role in determining the length. Character values are 1 to 32,767 characters (bytes) long. Numeric values are 8 bytes of floating point storage: Numeric Currency Date (days from 01JAN1960) Time (seconds from midnight) SAS Data Tables

9 A format is used to control how values are displayed. Formats do not affect how values are stored. Format:MMDDYY Width:10 Stored value:15060 Format:DOLLAR Width:10 Decimal Places:0 Stored value:76806

10 Formats

11 SAS Data Table Properties

12 Missing Values If a data value is not present for a column in a particular row, it is considered missing. A missing character value is displayed as a blank. A missing numeric value is displayed as a period or dot....

13 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

14 Objectives Add a local Excel spreadsheet to the project. View the properties of the data.

15 Software File Attributes The software file contains metadata. The software file does not contain metadata.

16 Open Options for Data Sources Other than SAS Enables SAS Enterprise Guide to read data directly Provides a detailed import process to create a new SAS table

17 Scenario Add an Excel spreadsheet to the project to provide a list of supplier names and addresses.

18 This demonstration illustrates how to add a local Excel spreadsheet to the project. Adding a Local Excel Spreadsheet to the Project

19 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

20 Objectives Identify remote data sources. Access a remote server. Add remote data to a project.

21 Transparent Access to Remote Data Local User UNIX sas Oracle DB2 z/OS Mainframe Oracle sas Windows Server sas

22 Opening Data from a SAS Server The Libraries icon enables access to predefined folders containing SAS or DBMS data sources. The Files icon enables access to the directories available on the server.

23 The Server List window also provides an organized view of all of your files and data sources. Accessing Remote Data Server List

24 After you add a data source to a project, the table automatically opens in the Data Grid. Accessing Remote Data

25 Accessing Remote Data To prevent a table from opening automatically when added to a project, disable the following option by selecting Tools  Options.

26 Scenario Add a remote DB2 table to the project. The table contains information on the transactions for products and stores.

27 This demonstration illustrates how to add a remote data table to the project. Adding a Remote Table to a Project

28 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

29 Objectives Use the Import Data task to import a text file into a project as a SAS table.

30 Import Data Task The Import Data task can be used to convert a file into a customized SAS data table.

31 Import Data Task To your computer, a text file is only strings of characters. SAS Enterprise Guide requires that the data be arranged into rows and columns (observations and variables).

32 Import Data Task The Import Data task enables you to tell SAS Enterprise Guide the following: where each column is located in the text file which columns to read in the name of each column if the first row contains column headings the type of data in each column –character –numeric (currency, date, time) how much storage space to allocate how to display the data values

33 Import Data Task The Import Data task stores the data as a SAS table.

34 Scenario LLB Importers has a fixed-width text file named Orders. The file contains orders received this quarter from delicatessens. Create a SAS table named Orders.sas7bdat that has the following characteristics: does not contain the customer order number assigns a descriptive label to the product identification number displays the selling price and revenue as a currency

35 Scenario Orders.txtOrders.sas7bdat

36 This demonstration illustrates the functionality available when you use the Import Data task to read data. Adding Data from a Fixed-width Text File

37 Complete the Chapter 2 exercises starting on page Detailed solutions are provided starting on page Exercises

38 Chapter 2: Working with Data in a Project 2.1 Introduction to Tabular Data 2.2 Accessing Local Data 2.3 Accessing Remote Data 2.4 Importing Text Files 2.5 Editing Tables in the Data Grid (Self-Study)

39 Objectives Use the Data Grid to delete columns and rows. Use the Data Grid to modify column attributes and sort a table. Use the Expression Builder to create columns.

40 Data Grid When you add a table to a project, the Data Grid’s default behavior is to display the table automatically in read-only mode. Actions available in the Data Grid in read-only mode include the following: browsing SAS tables and other tables resizing row and column widths for better viewing copying rows and columns to paste into a new or existing SAS table hiding rows and columns from view holding rows and columns while scrolling

41 Data Grid Actions available in the Data Grid in update mode are limited to SAS tables and include all actions available in read-only mode, as well as the ability to do the following: edit data values change the names of columns apply labels and formats to columns delete rows and columns sort by multiple columns in ascending or descending order create new columns and add rows When you modify a table through the Data Grid, you change the actual data values in the table.

42 Data Grid: Creating a Column

43 Column Properties: General Tab Type a name up to 32 characters in length. Type the expression… …or use the Expression Builder. Set the column type.

44 Expression Builder: Creating a Column One use of the Expression Builder is to insert a new column into a data table that is computed from other columns or values.

45 Expression Builder: Function Tab Read a description of the function. Select the type of function. Select a specific function.

46 Expression Builder: Values Tab Select the column name to include it in the expression. Click on the table to view its column names.

47 Data Grid: Results

48 Scenario LLB’s UPDATEORDERS table must be updated. Delete the UnitsInStock column because the information is no longer needed. Delete order #0713 because the order was cancelled. Create a new column called Revenue that is computed as Quantity * SellPrice.

49 This demonstration illustrates how to switch from Read-only mode to Update mode in the Data Grid in order to modify a SAS table. Working with Tables in the Data Grid