nextinfo
Retrieve information about next Haver Analytics variable
Syntax
D = nextinfo(c,s)
Arguments
c | Haver Analytics® connection object created with the |
s | Haver Analytics variable. |
Description
D = nextinfo(c,s)
returns information for the
next Haver Analytics variable after the variable, s
.
Examples
Retrieve Information About Next Variable
Establish a Haver Analytics connection.
c = haver('d:\work\haver\data\usecon.dat');
Request information for the variable following 'FFED'
. The
variable d
is a structure with a field for each piece of
information.
s = 'FFED';
d = nextinfo(c,s)
d = struct with fields: VarName: 'FFED2' StartDate: '01-Jan-1991' EndDate: '31-Dec-1998' NumberObs: 2088 Frequency: 'D' DateTimeMod: '02-Apr-2007 20:46:37' Magnitude: 0 DecPrecision: 2 DifType: 1 AggType: 'AVG' DataType: '%' Group: 'Z05' Source: 'FRB' Descriptor: 'Federal Funds [Effective] Rate (% p.a.)' ShortSource: 'History' LongSource: 'Historical Series'
Close the Haver Analytics connection.
close(c)
Retrieve Information About Next Variable as Table
Establish a Haver Analytics connection.
c = haver('d:\work\haver\data\usecon.dat');
Set the data return format to a table using the
DataReturnFormat
property of the haver
object.
c.DataReturnFormat = 'table';
Request information for the variable following 'ABQ'
. The
variable d
is a table with a variable for each piece of
information.
s = 'ABQ';
d = nextinfo(c,s)
d = 1×16 table VarName StartDate EndDate NumberObs Frequency DateTimeMod Magnitude DecPrecision DifType AggType DataType Group Source Descriptor ShortSource LongSource ________ _____________ _____________ _________ _________ ______________________ _________ ____________ _______ _______ ________ _____ ______ _______________________________________ ___________ _________________________________ 'ACPIF1' '01-Jan-1967' '01-Apr-2015' 580.00 'M' '22-May-2015 14:38:33' 0.00 2.00 1.00 'NA' '%' 'P25' 'STLF' 'Atlanta Fed Flexible CPI (SAAR, %chg)' 'FRBATL' 'Federal Reserve Bank of Atlanta'
Close the Haver Analytics connection.
close(c)
Retrieve Information About Next Variable with Datetime
Establish a Haver Analytics connection.
c = haver('d:\work\haver\data\usecon.dat');
Set the date and time format to a datetime
array using the
DatetimeType
property of the haver
object.
c.DatetimeType = 'datetime';
Request information for the variable following 'ABQ'
.
s = 'ABQ';
d = nextinfo(c,s)
d = struct with fields: VarName: 'ACPIF1' StartDate: 01-Jan-1967 EndDate: 01-Apr-2015 NumberObs: 580.00 Frequency: 'M' DateTimeMod: 22-May-2015 14:38:33 Magnitude: 0 DecPrecision: 2.00 DifType: 1.00 AggType: 'NA' DataType: '%' Group: 'P25' Source: 'STLF' Descriptor: 'Atlanta Fed Flexible CPI (SAAR, %chg)' ShortSource: 'FRBATL' LongSource: 'Federal Reserve Bank of Atlanta'
The variable d
is a structure with a field for each piece of
information. The dates are datetime
arrays.
Close the Haver Analytics connection.
close(c)
Version History
Introduced in R2007a
See Also
close
| get
| haver
| info
| isconnection
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)