Skip to content
Snippets Groups Projects
Commit 4fc644c3 authored by Johannes Pfeifer's avatar Johannes Pfeifer
Browse files

dseries: expand documentation on loading Excel files

parent 54239490
No related branches found
No related tags found
1 merge request!2043dseries: expand documentation on loading Excel files
...@@ -1025,8 +1025,9 @@ The dseries class ...@@ -1025,8 +1025,9 @@ The dseries class
``.xls/.xlsx`` (Octave only supports ``.xlsx`` files and the ``.xls/.xlsx`` (Octave only supports ``.xlsx`` files and the
`io <https://octave.sourceforge.io/io/>`__ package from `io <https://octave.sourceforge.io/io/>`__ package from
Octave-Forge must be installed). The extension of the file Octave-Forge must be installed). The extension of the file
should be explicitly provided. A typical ``.m`` file will have should be explicitly provided.
the following form::
A typical ``.m`` file will have the following form::
FREQ__ = 4; FREQ__ = 4;
INIT__ = '1994Q3'; INIT__ = '1994Q3';
...@@ -1051,6 +1052,12 @@ The dseries class ...@@ -1051,6 +1052,12 @@ The dseries class
typically usefull if ``INIT__`` is not provided in the data typically usefull if ``INIT__`` is not provided in the data
file. file.
If an ``.xlsx`` file is used, the first row should be a header
containing the variable names. The first column may contain date
information that must correspond to a valid date format recognized
by Dynare. If such date information is specified in the first column,
its header name must be left empty.
.. construct:: dseries (DATA_MATRIX[,INITIAL_DATE[,LIST_OF_NAMES[,TEX_NAMES]]]) .. construct:: dseries (DATA_MATRIX[,INITIAL_DATE[,LIST_OF_NAMES[,TEX_NAMES]]])
dseries (DATA_MATRIX[,RANGE_OF_DATES[,LIST_OF_NAMES[,TEX_NAMES]]]) dseries (DATA_MATRIX[,RANGE_OF_DATES[,LIST_OF_NAMES[,TEX_NAMES]]])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment