Giter Site home page Giter Site logo

Comments (14)

edgararuiz-zz avatar edgararuiz-zz commented on June 11, 2024 2

I have a PR for pivot_wider() available now here: #344. If you'd like to try it out, you can install it using: install_github("tidyverse/dbplyr#344")

from dbplyr.

edgararuiz-zz avatar edgararuiz-zz commented on June 11, 2024 1

Should we target pivot_longer() and pivot_wider() instead of spread() and gather()?

from dbplyr.

abalter avatar abalter commented on June 11, 2024 1

What is the status of implementing unnest?

from dbplyr.

TuSKan avatar TuSKan commented on June 11, 2024

There are any ideias how to do it?
Something like that? http://modern-sql.com/use-case/pivot
for Hive there is lateral view explode ?

from dbplyr.

iangow avatar iangow commented on June 11, 2024

There are any ideas how to do it?

One can create (a crude version of) this functionality using dplyr verbs (see here).

from dbplyr.

hadley avatar hadley commented on June 11, 2024

Moved to dbplyr, since that contains all the low-level primitives needed for SQL generation

from dbplyr.

edgararuiz-zz avatar edgararuiz-zz commented on June 11, 2024

Should I finish this PR? #72

from dbplyr.

hadley avatar hadley commented on June 11, 2024

See https://github.com/halpo/pivot for existing work.

from dbplyr.

hadley avatar hadley commented on June 11, 2024

Yes. Although for an initial implementation we’d ignore most of the advanced features.

from dbplyr.

aldomann avatar aldomann commented on June 11, 2024

Any updates on this?

from dbplyr.

aldomann avatar aldomann commented on June 11, 2024

@edgararuiz thanks, managed to do what i wanted to do in another way, but I'll definitely check it out later and try to replicate my results and compare.

from dbplyr.

edgararuiz-zz avatar edgararuiz-zz commented on June 11, 2024

That'll be great, thank you

from dbplyr.

ben1787 avatar ben1787 commented on June 11, 2024

I see that pivot_longer does not work on an uncollected dbplyr tibble. Am I doing something wrong or is this something that would be supported in the future?

Thanks!
Ben

from dbplyr.

hadley avatar hadley commented on June 11, 2024

Done, thanks to @mgirlich!

from dbplyr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.