Skip to main content

Scripting

What is Datagrok scripting?

Scripting is a powerful feature that enhances your data analysis experience with Datagrok. It combines Datagrok's full range of capabilities with thousands of statistical packages and visualizations available in R, Python, Octave, Julia, or JavaScript. You can create custom data analysis scripts, display results in viewers, leverage Datagrok enterprise capabilities, and more.

Unlike "heavy" Datagrok components, scripts can be written in any supported language, including Python, R, Octave, JavaScript, and SQL (for data queries). To integrate scripts with Datagrok, you only need Datagrok functional annotations, without requiring knowledge of the Datagrok JavaScript API.

Where to go from here

  • To learn the basics of scripting, start with the Getting started with scripting section.
  • The Scripting features section demonstrates how to improve the UI for your scripts and visualize results in Datagrok viewers.
  • For information on creating advanced user interfaces and maximizing scripting capabilities, visit the Advanced scripting section.