Skip to content

[R-Forge #1007] Build in secondary keys #668

Closed

Description

@arunsrinivasan

Submitted by: Matt Dowle; Assigned to: Nobody; R-Forge link

Manual secondary keys are possible as per Tom's post 'data.table indexing approaches'.
There is todo in setkey.R to add secondary order vectors as attribute to DT, maybe set2key().

Or, named columns in J could define the key to use. Which could also build a secondary key automatically if not already present.

Raised at least here and here on SO.

Activity

  1. jangorecki commented on Sep 10, 2014

    @jangorecki
    Member

    Nth key implementation provided in #803, it doesn't scale as good as data.table naturally scales. #804 is related to it's scalability.

    edit 2014-12-06: now scales better by generating only desired indices, released in https://github.com/jangorecki/dwtools#idxv package.

  2. arunsrinivasan commented on Jul 18, 2015

    @arunsrinivasan
    MemberAuthor

    This is implemented now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions