Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The DATASOURCE Procedure

DRI/McGraw-Hill Data Files

The DRIBASIC (formerly CITIBASE) database contains economic and financial indicators of the U.S. and international economies gathered from various government and private sources by DRI/McGraw-Hill, Inc. There are over 8000 yearly, quarterly, monthly, weekly, and daily time series.

DRI/McGraw-Hill distributes Basic Economic data files on various media. DRI also offers Data Delivery Service (DDS)data files via DRIPRO's data retrieval software called Xtract. Most DDS data files can be read by DATASOURCE using the DRIDDS filetype.

The following DRI file types are supported:

FILETYPE=DRIBASIC--DRI Basic Economic Data Files

   
Data FilesDatabase is stored in a single file.
INTERVAL=YEAR (default), QUARTER, MONTH, WEEK, WEEK1.1, WEEK1.2, WEEK1.3, WEEK1.4, WEEK1.5, WEEK1.6, WEEK1.7, WEEKDAY
BY variablesNone
Series VariablesVariable names are taken from the series descriptor records in the data file . Note that series codes can be 20 bytes.
Missing CodesMISSING=( '1.000000E9'=. 'NA'-'ND'=. )

Note that when you specify the INTERVAL=WEEK option, all the weekly series will be aggregated, and the DATE variable in the OUT= data set will be set to the date of Sundays. The date of first observation for each series is the Sunday marking the beginning of the week that contains the starting date of that variable.

FILETYPE=DRIDDS--DRI Data Delivery Service Data Files

   
Data FilesDatabase is stored in a single file.
INTERVAL=YEAR (default), SEMIYEAR, QUARTER, MONTH, SEMIMONTH, TENDAY, WEEK, WEEK1.1, WEEK1.2, WEEK1.3, WEEK1.4, WEEK1.5, WEEK1.6, WEEK1.7, WEEKDAY, DAY
BY variablesNone
Series VariablesVariable names are taken from the series descriptor records in the data file . Note that series names can be 24 bytes.
Missing CodesMISSING=( 'NA'-'ND'=. )

FILETYPE=CITIOLD--Old format CITIBASE data files

This file type is used for CITIBASE data tapes distributed prior to May, 1987.

   
Data FilesDatabase is stored in a single file.
INTERVAL=YEAR (default), QUARTER, MONTH
BY variablesNone
Series VariablesVariable names are taken from the series descriptor records in the data file and are the same as the series codes reported in the CITIBASE Directory.
Missing Codes1.0E9=.

FILETYPE=CITIDISK--PC Diskette Format CITIBASE Databases

   
Data FilesDatabase is stored in groups of three associated files having the same file name but different extensions: KEY, IND, or DB. The INFILE= option should contain three filerefs in the following order: INFILE=(keyfile indfile dbfile)
INTERVAL=YEAR (default), QUARTER, MONTH
BY variablesNone
Series VariablesSeries variable names are the same as series codes reported in the CITIBASE Directory.
Missing Codes1.0E9=.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.