vegalite icon indicating copy to clipboard operation
vegalite copied to clipboard

compile spec

Open timelyportfolio opened this issue 9 years ago • 2 comments
trafficstars

What do you need to be able to translate a vegalite spec into ggplot2 commands? I see some V8 history. Is that what you need or do you need more? Happy to help.

timelyportfolio avatar Feb 26 '16 22:02 timelyportfolio

I think I over-thought the older stuff :-)

Vega-Lite can't handle more than one data source. That really simplifies things. So I should be able to adapt the code to handle the export of basic ggplot2 objects (completed ones).

What will need work is translating all the stat_ operations to calculate, filter, etc operations.

ghost avatar Feb 26 '16 22:02 ghost

However to get a spec into ggplot2 will require some expression compilation. I'm not sure it's worth it in the long run. Prbly going to spend some cycles getting a title field into the widget and figuring out how to get interactive functionality within the chart (it seems possible). Or get some older pkgs out the door first :-)

On Fri, Feb 26, 2016 at 5:54 PM, hrbrmstr [email protected] wrote:

I think I over-thought the older stuff :-)

Vega-Lite can't handle more than one data source. That really simplifies things. So I should be able to adapt the code to handle the export of basic ggplot2 objects (completed ones).

What will need work is translating all the stat_ operations to calculate, filter, etc operations.

— Reply to this email directly or view it on GitHub https://github.com/hrbrmstr/vegalite/issues/1#issuecomment-189516594.

hrbrmstr avatar Feb 26 '16 23:02 hrbrmstr