search for: yyyymmdd

Displaying 20 results from an estimated 64 matches for "yyyymmdd".

2009 Jul 21
4
how to transform m/d/yyyy to yyyymmdd?
...1/1/2008 1/3/2008 1/12/2008 etc. I'd like the date to look something like the follow (so that I could sort by date easily). 20071209 20071216 20080101 20080103 20080112 How to do it? Thank you very much Julia -- View this message in context: http://www.nabble.com/how-to-transform-m-d-yyyy-to-yyyymmdd--tp24591898p24591898.html Sent from the R help mailing list archive at Nabble.com.
2011 Dec 02
2
Problem subsetting: undefined columns
...The solution I have so far works well as long as the elements of the second data frame are included in the column names of the first data frame but if an element from the second object is not a column name of the first one, then it bugs. -More concretely, I have the following data frames d and v: yyyymmdd<-c("19720601", "19720602", "19720605") sret.10006<-c(1,2,3) sret.10014<-c(5,9,7) sret.10065<-c(10,2,11) d<- data.frame(yyyymmdd=yyyymmdd, sret.10006=sret.10006, sret.10014=sret.10014, sret.10065=sret.10065) v<- data.frame(V1="sret.10006",...
2007 Mar 28
18
Version numbering
After v1.0 is released, I can finally get back to sane version numbers. But any comments on which one is better: a) Postfix-style: "1.1.UNSTABLE.YYYYMMDD" -> 1.1.0 (stable) b) Odd-even numbering: 1.1.x (unstable) -> 1.2.0 (stable) With a) style the releases could be done by simply copying a nightly snapshot to releases/ directory and announcing the changes since the last release. I'm not sure if that's good or bad. -------------...
2004 May 27
3
Date parsing question
How do I parse a date "yyyymmdd"? I tried asking chron(s, "ymd") but that didn't work. Would the date parsing routines of the Date class of 1.9 grok this? -- Ajay Shah Consultant ajayshah at mayin.org Department of Economic Affairs http://...
2007 Feb 15
3
Working with temporal data
Hi, I have several files with data in this format: 20070102 20070102 20070106 20070201 ... The data is sorted and each line represents a date (YYYYMMDD). I would like to analyze this data using R. For instance, I would like to have a histogram by year, month or day. I've already made a simple Perl script that aggregates this data but I believe that R can be much more powerful and easy on this kind of work. Any suggestions on where to start?...
2004 Feb 23
6
Need help on parsing dates
...is V1 a number or a string? Looking at it, it must be a string. But yet: > library(date) > try=as.date(A$V1, "ymd") Error in as.date(A$V1, "ymd") : Cannot coerce to date format In short, how do I parse in dates of the format yyyy-mm-dd (the ISO 8601 format) or the yyyymmdd format. And if I may ask the next step: How do I tell R that I have a file full of data all of which is time-series data, where V1 is the datetime vector, and all the other columns are time-series, to do things like ARMA models and ts plots with? -- Ajay Shah...
2010 Aug 03
2
sorting by date
I am unsure how to sort a column by date if it is currently in the form: YYYYMMDD For example the months: 20071031 20071130 20071231 Etc. Regards, Leigh [[alternative HTML version deleted]]
2009 Dec 23
2
loading data into ZOO
Hello, I have a simple question. I am trying to load data into a zoo object. I have the data in CSV format as follows SYMBOL DATE TIME PRICE XX YYYYMMDD HH:MM:SS n.nn and there are multiple symbols in this one data frame. My question is, do I need to merge DATE and TIME before loading them or can I specify multiple index.column or index.name fields? Thanks, -stephen [[alternative HTML version deleted]]
2008 Apr 14
3
Merging daily and weekly data
Dear R-help group, I have a dataset with daily closing prices from a stock exchange (consecutive 5 trading days) from a firm trading a specific commodity. The date variable looks like: quote_date 20080411 With the format; yyyymmdd. Moreover, I have another data set with a (average) weekly price of the underlying commodity. The date variables in this dataset are only year and a week number. I would like to calculate a common date number or ID based on week number that enables me to merge these two datasets, so that it looks...
2013 Feb 27
3
an rsync question
Is there any way to have rsync compare against a file with a *different* name? What I'd like to do is compare a vm - whatsit.img against a backup - whatsit.current, that's a symlink to whatsit.timestamp, and if different, *then* make the copy (which my script will then move to whatsit.newtimestamp, and change the symlink to point to the new one, then remove the old (or maybe save an older
2006 Oct 13
3
Ferret 0.10.11 & AAF: sorting Time fields doesn''t work
Ferret 0.10.11 & AAF: the time seems to be stored in a format that can''t be sorted, the order doesn''t make any sense. Workaround: use to_i on the Time object before putting it into the index. -- Posted via http://www.ruby-forum.com/.
2012 Apr 23
2
How to insert filename as column in a file
Hi, I am relatively new to R. Have scourged the help files and the www but havent been able to get a solution. I have around 250 csv files, one file for each date. They have columns of all types, numeric, string etc. The name of each file is the date in the form of 'yyyymmdd'. There is no column within the file which helps me identify the date on which the file was generated, only the filename has that info. I am selecting some data (using read.csv.sql) from each file and creating a dataset for each day. Ultimately I will combine all the datasets. I can accomplish...
2007 Sep 11
2
How to search with range when I am using AAF
acts_as_ferret :fields => { :name => {:}, :desc => {}, :start_date => {} } def start_date self.start_datetime.strftime("%Y%m%d") end Now that I am strong start_date in YYYYMMDD format, I want to search for all event in between 20070506 and 20070809 What will my query look like when I am using aaf. This one doesn''t work Event.find_id_by_contents("start_date:[20070506 20070809]) I know how it works with native Ferret but can''t seem to integrate wi...
2005 Mar 02
1
postgresql date
If I select my date column from the pgadmin I see that in the ddmmyyyy form, I''ve specified so in the postgresql config. When I query from rails I get the date in yyyymmdd someone knows why? Thanks Enrico -- "The only thing necessary for the triumph of evil is for good men to do nothing" Edmund Burke
2010 Sep 14
1
Reading highest numbered file
I have a bunch of files named "[identifier1].[identifier2].[yyyymmdd].[hhmmss].txt" and im having trouble updating my read script for the timestamp. I've been using file.exists and a for loop but its highly inefficient and cumbersome. Would there be someway to create an object containing the string of each .txt file in some directory and to sort them by t...
2009 Aug 19
1
dovecot/sieve current date
Hi, Is there a way in sieve to get the current date, preferably in YYYYMMDD format? To what I've found it's hard to achieve. I have tried including a :global sieve script in which I would set the current date to a certain variable and overwrite this included script every day. But to my disappointement variables set in an included script do not exist in the original...
2006 Oct 18
1
How to get the agent id in the recording filename
Hi, I'm sure some else has been facing this problem. I want to record all the call coming in my queue. I want this format: YYYYMMDD-HHMMSS-AgentID-CallerId - UniqueID. I'm using the monitor feature inside the queue.conf. I can't use the agents.conf monitor features because I'm using dynamic agent (addqueuemember) The problem I'm facing is that I can change the filename before the call enters t...
2013 Jun 19
0
Problems in ssh-keygen.1
...----------- next part -------------- Problems with ssh-keygen.1: Invalid Sx reference - not a section on this page. --- ssh-keygen.1-unpatched 2013-05-25 15:24:47.868323922 -0400 +++ ssh-keygen.1 2013-05-25 15:24:47.508323929 -0400 @@ -466,7 +466,7 @@ The start time may be specified as a date in YYYYMMDD format, a time in YYYYMMDDHHMMSS format or a relative time (to the current time) consisting of a minus sign followed by a relative time in the format described in the -.Sx TIME FORMATS +.Em TIME FORMATS section of .Xr sshd_config 5 . The end time may be specified as a YYYYMMDD date, a YYYYMMDD...
2006 Feb 16
3
Debian revisions and policy comments [signed]
...just start another thread as it seemed I would address things from multiple emails. I really need to get my sieve filter script updated to move the list emails into the proper folder now I guess :) We can play with the revision of the packaging during testing. One idea would be to use 3.0.1-0.YYYYMMDD for experimental test packaging and then later change to 3.0.1-1 for the actual release. The advantage of this is that it gives us an indefinate amount of revisions without making the version string considerably longer with multiple versions. Of course it would limit us to a daily build release. We...
2008 Jun 04
2
How to change ActiveRecord date format conversion
...be formated as mm.dd.yyyy and thus saves wrong value to database. I have implemented method which corrects date fields prior to save to database, but it is clumsy. There must be a solution to configure ActiveRecord so it will interpret my date string corectly. It does so for strings formated like yyyymmdd. by TheR -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@...