Re: [R] How to import and create time series data frames in an efficient way?

2019-11-17 Thread Nhan La
dth date with the data for each stock in >> the data frame matched to the appropriate column in the array. >> >> The entire loop will give all dates for all stocks and all categories >> with NA's for missing days. (*IF IT WORKS!*) >> You may need to modify this si

Re: [R] How to import and create time series data frames in an efficient way?

2019-11-14 Thread Nhan La
ticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Thu, Nov 14, 2019 at 4:11 PM Nhan La wrote: > >> I have many separate data files in csv format for a lot of daily stock >> prices. Over a few years there a

[R] How to import and create time series data frames in an efficient way?

2019-11-14 Thread Nhan La
I have many separate data files in csv format for a lot of daily stock prices. Over a few years there are hundreds of those data files, whose names are the dates of data record. In each file there are variables of ticker (or stock trading code), date, open price, high price, low price, close price