you@wcps>Status Welcome to the interactive WCPS console. Type your query in the textbox below and press Execute to test it.
If you want to pipe the output of the query to a widget just add the name of the widget in front of the query like this: widget>>query (e.g. encoding 1D in csv, json diagram>>for c in ... return encode(c, "csv")), encoding 2D in png, jpeg image>>for c in ... return encode(c, "png")). You can also add parameters to the widget, i.e. diagram(type=multiBarChart)>>for x in ...

Have fun!

you@wcps>: Executing Query. {{datum.PassedSeconds}} seconds passed. Please wait...

you@wcps>: {{datum.Query}}
Result:
{{datum.Data}}

you@wcps>: {{datum.Query}}
Result:

Example