Hello,
I have an unstructured/undated workfile and there I have a series containing intraday date (not unique, there are rows with the same date). How can I create from this a series containg daily, not intraday, date? I tried things such as using series daily_date = @makedate(intraday_date, "ddmmyyyy") but it doesn't work. Please help! :-)
adrian
Date conversion within unstructured workfiles
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Date conversion within unstructured workfiles
Post your workfile.
Re: Date conversion within unstructured workfiles
Ok, take a look please. The aim is to have daily data with sum of total_conversions series per day.Post your workfile.
- Attachments
-
- p2c sample.wf1
- (1.86 MiB) Downloaded 282 times
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Date conversion within unstructured workfiles
Something like:
Code: Select all
series date = @datefloor(activity_date_time, "DD")
pagecreate(page=daily) d7 2014/01/01 2014/02/28
series date = @date
copy(c=s) p2c\total_conversions daily\* @src date @dest date
Re: Date conversion within unstructured workfiles
Great idea with @datefloor, thank you! :)
Who is online
Users browsing this forum: No registered users and 0 guests
