Skip to content
Prev 299867 / 398503 Next

do I need plyr, apply or something else?

"R. Michael Weylandt" <michael.weylandt at gmail.com> writes:
I feel like PostgreSQL will do the work better. It has support for basic
statistics [1] and you can use window functions [2] to limit the scope
for last year only. Then you get your data with RODBC or something.

I suspect you have you data in some sort of DB in the first
place. Perhaps it has similar features.

[1] http://www.postgresql.org/docs/9.1/static/functions-aggregate.html#FUNCTIONS-AGGREGATE-STATISTICS-TABLE
[2] http://www.postgresql.org/docs/9.1/interactive/sql-expressions.html#SYNTAX-WINDOW-FUNCTIONS
Message-ID: <9q0ipdt289h.fsf@gmx.us>
In-Reply-To: <CAAmySGMR93t6W7FpXjC+Fy9pgx2OrReguBDWGezqsENwy9zLxg@mail.gmail.com> (R. Michael Weylandt's message of "Wed, 11 Jul 2012 17:02:10 -0500")