Interactively manipulate data with the
tidyr
package using this handy shiny gadget.
library(devtools)
install_github("MangoTheCat/tidyshiny")
After launching the gadget with the tidyData
function you will be able to set the key
and value
arguments and select columns. The gadget will preview the data that will be generated from the function call that is returned unless no columns are selected.
library(tidyshiny)
# Create a dataset object for the gadget to detect
testData <- airquality
tidyData()
# Alternatively pass the data to the tidyData function call
tidyData(iris)
This package has been setup to work with RStudio addin's and it will be available from the addins menu after installing the package.