Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Fred PAYEMS fetch data error

2 Ansichten (letzte 30 Tage)
Emre
Emre am 18 Okt. 2014
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hello,
I can fetch most of the Fred data, however there seems to be a problem with the nonfarm payroll employment (PAYEMS) data. I use the following code:
c = fred;
FredData = fetch(c, 'PAYEMS');
However I get the following error:
_Attempted to access j(1); index out of bounds because numel(j)=0.
Error in fred/fetch (line 76)
tmpfld = x{i}(1:j(1)-1);_
I do not understand why because when I fetch data such as INDPRO, it works.
I would appreciate your input.
Thank you in advance,

Antworten (2)

YG
YG am 3 Jul. 2015
The error is due to non-standard structure of the PAYEMS Notes. Please find attached fetch1 function, which you can use to download PAYEMS.

YG
YG am 3 Jul. 2015
The error is due to non-standard structure of the PAYEMS Notes. Please find attached fetch1 function, which you can use to download PAYEMS.

Diese Frage ist geschlossen.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by