How to use a data object from a package as an input for a function in OpenCPU?

22 views Asked by At

When using OpenCPU's api,

For example, I can retrieve the cats dataset from MASS using this api:

curl https://cloud.opencpu.org/ocpu/library/MASS/R/cats/json

and suppose there is a function, say:

play(x)

then how can I use the cats set retrieved from first api as the input for play() function?

0

There are 0 answers