Specify frequency of page using 'pageload' command

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

chester
Posts: 44
Joined: Thu May 12, 2016 11:14 am

Specify frequency of page using 'pageload' command

Postby chester » Wed Oct 26, 2016 12:55 pm

My code reads CSV data into a new page(tab) within a workfile window. EViews picks up the frequency of the time series but the page is still labelled as undated/unstructured/no frequency. I would like the specify the frequency of the data within this line of code if possible.

Code: Select all

pageload "C:\filepath\newdata.csv" ftype=ascii rectype=crlf skip=0 fieldtype=delimited delim=comma byrow colhead=2 namepos=first eoltype=pad badfield=NA @id date @smpl @all

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Specify frequency of page using 'pageload' command

Postby EViews Gareth » Wed Oct 26, 2016 1:32 pm

Add a:

Code: Select all

@freq m 1990
argument.

chester
Posts: 44
Joined: Thu May 12, 2016 11:14 am

Re: Specify frequency of page using 'pageload' command

Postby chester » Thu Oct 27, 2016 6:57 am

Where exactly would "@freq m" fit in that command? I've tried placing it after @id or after the file path but it doesn't seem to create a monthly page. If I put it after "namepos", I get an error that says "Invalid frequency specification".

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Specify frequency of page using 'pageload' command

Postby EViews Gareth » Thu Oct 27, 2016 8:42 am

replace @id with it.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests