필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Fred PAYEMS fetch data error

조회 수: 2 (최근 30일)
Emre
Emre 2014년 10월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
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,

답변 (2개)

YG
YG 2015년 7월 3일
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 2015년 7월 3일
The error is due to non-standard structure of the PAYEMS Notes. Please find attached fetch1 function, which you can use to download PAYEMS.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by