Dealing with Data / Data formats / FORMAT=HAVER |
This is a Time Series Database format for accessing data in the Haver Analytics native DLX format. It is available only in the Pro level, and only on Windows. It is for series input. The Haver Analytics databases, which are available for purchase from Estima, are provided in both RATS and DLX formats.
RATS Instructions
data(format=haver) |
read series from Haver into memory |
store(convert=haver) |
copy series from Haver to RATS format |
Interface Operations
On the Data/Graphics menu (for WinRATS Pro), there’s a Data Browser–Haver DLX Database operation. This opens a window listing the contents of the file. You can drag and drop series from that into the Series Window or a RATS Data File window.
Details
A DLX database consists of several files in the same directory with a common base name, For instance, the USECON data base (a 12,000 series database with a broad range of key U.S. macroeconomic series) comprises the files USECON.IDX and USECON.DAT. To use DATA or STORE, you need to open a unit named HAVER with just that base name (in this case USECON), with the full path if required. In the File–Preferences dialog, in the Data Sources tab, you can set a permanent association of the HAVER unit with a particular database, If you’ve done that, you don’t need to include an OPEN HAVER instruction to access that database.
Series are read according to their database names. Each series has its own range and date scheme, so you can choose any subset of entries and can do compaction and expansion as described in Section 2.5 of the Introduction.
Example
The following reads six series (GDP, GDP deflator, gross private domestic investment, unemployment rate, one year T-bill rate and M2) from the USECON data base. The last three series are compacted from the monthly data on the database to quarterly in the workspace.
open haver m:\data\haver\usecon
cal(q) 1960:1
data(format=haver) 1960:1 2010:2 gdpq dgdp fq lr fcm1 fm2
Copyright © 2025 Thomas A. Doan