Re: [R] join/merge two data frames

2025-04-05 Thread avi.e.gross
Aaron ; r-help@r-project.org Subject: Re: [R] join/merge two data frames On Wed, 2025-04-02 at 16:55 +, Ebert,Timothy Aaron wrote: > Your result data frame example makes no sense to me. The price and > executed_qty are the same for all symbols? > > To get it all into one data

Re: [R] join/merge two data frames

2025-04-05 Thread Bert Gunter
roup and you > > have the last time, whatever that may be. > > > > Again, this may not apply in your case. As you note, you are planning > > on doing many things, one step at a time, and early stages can set up > > your data.frames in ways that make later stages easi

Re: [R] join/merge two data frames

2025-04-04 Thread Ebert,Timothy Aaron
Your result data frame example makes no sense to me. The price and executed_qty are the same for all symbols? To get it all into one data frame you need a common variable that is used to join the data frames. My guess is that all_trade_sample$symbol has equivalents to the variables in token_clo

Re: [R] join/merge two data frames

2025-04-02 Thread Arnaud Gaboury
ntaining the time in a sortable format. You can then sort the > > > data.frame by the date and then time and then  group your > > > data.frame  > > > by the date and  and select only last record in each group and > > > you > > > have the la

Re: [R] join/merge two data frames

2025-04-02 Thread Arnaud Gaboury
ames in ways that make later stages easier to do. As one > example, you could create a column in early stages that marks if the > current row is a closing row or not. > > -Original Message----- > From: R-help On Behalf Of Arnaud > Gaboury > Sent: Wednesday, April 2, 2025 2

Re: [R] join/merge two data frames

2025-04-02 Thread Arnaud Gaboury
"BTCUSDT", "BTCUSDT", "BTCUSDT", "BTCUSDT" )), row.names = c(NA, -5L), class = c("data.table", "data.frame" ), .internal.selfref = ) [1]https://cran.r-project.org/web/packages/binancer/binancer.pdf > > -Original Message- >

Re: [R] join/merge two data frames

2025-04-02 Thread Arnaud Gaboury
On Wed, 2025-04-02 at 16:55 +, Ebert,Timothy Aaron wrote: > Your result data frame example makes no sense to me. The price and > executed_qty are the same for all symbols? > > To get it all into one data frame you need a common variable that is > used to join the data frames. > My guess is t