alteryx / AlteryxPredictive

This is an R package containing utility functions used by the predictive tools in Alteryx.
GNU General Public License v3.0
15 stars 15 forks source link

Automatically create XDF test cases from equivalent open source R test cases. #18

Open ramnathv opened 8 years ago

ramnathv commented 8 years ago

It should be possible to automate creation of XDF test cases from a test case (list of inputs and config) created for open source R. The basic logic will be to:

  1. Save data frame inputs to appropriately named XDF (admissions -> Extras/Data/admissions.xdf)
  2. Update inputs$XDFInfo to list(is_XDF = TRUE, xdf_path = "Extras/Data/admissions.xdf")
  3. Save updated inputs and config as a test.
ramnathv commented 8 years ago

The easiest way to do this seems to be to:

  1. Create a inst/xdfdata folder in AlteryxPredictive.
  2. Use RevoScaleR::rxImport to save a dataset in xdf format.