davidsjoberg/ggsankey

Using ggsankey in Shiny

Closed this issue · 1 comments

It seems I cannot use ggsankey with my Shiny app.

I did a test app to see if it worked, but I get an error from toJSON about a named vector.
I made a simple selector to use a database extract as the base dataframe for the sankey plot.
On initialisation, it works, but after switching to another df, I get the error.

Sadly, as an R beginner, I cannot ascertain that I am not at the origin of the issue.

This is indeed on me, I loaded plyr instead of dplyr.
My bad!