Displaying 20 results from an estimated 1000 matches similar to: "Reading highest numbered file"
2010 Sep 17
0
Merging data frames on a variety of columns
Hello,
This is a semi-complicated question about comparing two datasets,
probably using merge, but I am open to other ideas. I have a large
frame of information about companies.? It's over 30,000 rows and looks
something like...
df1 <-
identifier1???? identifier2 name other_name year
H34 C56 ACME ACME_LTD 2001
H34
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
2004 May 16
1
** Asterisk Sunday Morning News: Contribute to the community
Another Asterisk week has gone by. A lot of changes has been submitted into
the CVS head, only a few to CVS stable.
CVS stable only changes for bug fixes now.
* Using MGCP? Please step forward!!
-----------------------------------
There are a number of MGCP bugs and fixes in the bug tracker that needs more
activity. If you are using the MGCP protocol, please step forward and help us
fix this.
2011 Dec 02
2
Problem subsetting: undefined columns
Dear R-users,
-I am new to R, and I am struggling with the following problem.
-I am repeating the following operations hundreds of times, within a loop:
I want to subset a data frame by columns. I am interested in the columns
names that are given by the rows of another data frame that was built in
parallel. The solution I have so far works well as long as the elements of
the second data frame
2003 Aug 17
3
Monitor application temporary hack
[apologies for no line wrap; config lines at bottom]
I have mentioned on several threads here that the Monitor application doesn't do exactly what one would expect: the originating and answering legs of a call are unsynchronized by the duration of the interval that it takes for the answering leg to pick up the phone. This can be very distracting in a final mixed version of the file.
Brian
2023 Nov 05
3
strptime with +03:00 zone designator
I have some data that includes timestamps like this:
2017-02-28T13:35:00+03:00
The documentation for strptime says that %z expects
an offset like 0300. I don't see any way in the documentation
to get it to accept +hh:mm with a colon separator, and
everything I tried gave me NA as the answer.
Section 4.2.5.1 of ISO 8601:2004(E) allows both the
absence of colons in +hh[mm] (basic format) and
2009 Jul 21
4
how to transform m/d/yyyy to yyyymmdd?
Hello,
I have a set of data that has a Date column looks like this:
12/9/2007
12/16/2007
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:
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://www.mayin.org/ajayshah Ministry of Finance, New Delhi
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
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
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?
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]]
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
2010 Oct 04
3
Loop too slow for Bid calc - BUT cannot figure out how to do with matrix
Hi,
I am trying to create Bid/Ask for each second from a high volume stock and
the only way I have been able to solve this is using loops to create the
target matrix from the source tick data matrix. Looping is too slow and
not practical to use on multiple stocks. For example:
Bids Matrix (a real one is 400,000++ length):
Bid Time
10.03 11:05:03.124
10.04 11:05:03.348
10.05
2004 Feb 23
6
Need help on parsing dates
I know this:
> library(date)
> x="1979-04-04"
> try=as.date(x, "ymd")
> print(try)
[1] 4Apr79
and that `x' here has to be a string, e.g.:
> x=1979-04-04
> print(x)
[1] 1971
I'm stuck in reading from a file. I say:
> A <- read.table(file="try")
> print(A)
V1 V2
1 1979-04-04
2023 Nov 06
1
strptime with +03:00 zone designator
try using 'lubridate'
> library(lubridate)Attaching package: ?lubridate?
The following objects are masked from ?package:base?:
date, intersect, setdiff, union
> x <- "2017-02-28T13:35:00+03:00"> ymd_hms(x)[1] "2017-02-28 10:35:00 UTC"
>
Thanks
Jim Holtman
*Data Munger Guru*
*What is the problem that you are trying to solve?Tell me what you
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
2005 Nov 25
3
Query: Filesystems
Hello,
Just a few quick, but not very simple questions...:
Do any Linux filesystems (besides XFS) support freezing?
(ie. in conjuction with LVM snapshots this can allow a mounted
filesystem to be frozen [freezing all processes writing to this
filesystem] in a valid state (with possibly dangling
unlinked files), the device can be snapshotted via LVM, and the
original filesystem unfrozen - the
2023 Nov 06
1
strptime with +03:00 zone designator
OK, so the consensus is
(1) One cannot make strptime accept ISO8601-compliant zone designators
(2) The lubridate package can
(3) Or one can hack away with regex.
Lubridate it is, then.
But I do regard strptime's inability to process ISO8601-compliant zone
designators as a bug.
On Mon, 6 Nov 2023 at 13:18, jim holtman <jholtman at gmail.com> wrote:
> try using 'lubridate'
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