IRIS-Solutions-Team / IRIS-Toolbox

[IrisToolbox] for Macroeconomic Modeling
Other
91 stars 41 forks source link

daily data import #207

Open alexisakov opened 5 years ago

alexisakov commented 5 years ago

Importing daily data does not seem to work in the recent IRIS version (I'm using the 20190120).

Rerunning the old tutorial 'Daily_tseries' will not import the last year, and also does not import my daily data: miacr.txt

miacrdb = dbload('miacr.csv','freq',365,'dateformat','mm/dd/yyyy')

Produces this:

Capture
jaromir-benes commented 5 years ago

Hi

if the days and months are mixed one-digit and two-digit numbers (such as 5/6/2019 versus 6/13/209 versus 10/1/2018 versus 10/19/2018), you need to specify the date format as 'm/d/yyyy'. The 'm' and 'd' stand for one- to two-digit numerals, where as 'mm' and 'dd' stand for two-digit (strictly) numerals. The latter would be used if your dates were e.g. 05/06/2019.

I will emphasize this in documentation.

Thank you

Jaromir

On Thu, Jul 18, 2019 at 12:36 PM alex isakov notifications@github.com wrote:

Importing daily data does not seem to work in the recent IRIS version (I'm using the 20190120).

Rerunning the old tutorial 'Daily_tseries' will not import the last year, and also does not import my daily data: miacr.txt https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/files/3406094/miacr.txt

miacrdb = dbload('miacr.csv','freq',365,'dateformat','mm/dd/yyyy')

Produces this:

[image: Capture] https://user-images.githubusercontent.com/6958052/61450957-f0000b00-a960-11e9-99f5-81e23240c579.PNG

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/IRIS-Solutions-Team/IRIS-Toolbox/issues/207?email_source=notifications&email_token=AGCVKKVA7ZORK2GUKBHCGRLQABBRLA5CNFSM4IEZKD3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G767OAA, or mute the thread https://github.com/notifications/unsubscribe-auth/AGCVKKVSQFSN4PHOGXVFTCLQABBRLANCNFSM4IEZKD3A .