haver
Connect to local Haver Analytics database
Description
The haver
function creates a haver
object. The haver
object represents a Haver Analytics® database connection.
After you create a haver
object, you can use the object functions to
retrieve all historical data for a variable. You can also retrieve historical data in a
date range.
Creation
Syntax
Description
c = haver(
establishes
a connection to a Haver Analytics database and sets the DatabaseName property.databasename
)
Requirement:
You need both read and write permissions on the database file to
establish a connection. Otherwise, this error message appears at the
command line: Unable to open specified database
file
.
Input Arguments
Properties
Object Functions
close | Close Haver Analytics database |
fetch | Request data from Haver Analytics database |
get | Retrieve properties from Haver Analytics connection objects |
info | Retrieve information about Haver Analytics variables |
isconnection | Determine if connections to Haver Analytics data servers are valid |
nextinfo | Retrieve information about next Haver Analytics variable |
Examples
Version History
Introduced in R2007a