LogoClawIndex
CasesSkillsAbout
LogoClawIndex

script-translator - Convert statistical code between languages

Translate scripts between STATA, Python, and R with line-by-line fidelity

Tags

Updated: 2026-03-23
code translationstatistical programmingSTATAPythonRdata analysisscript conversion

Capabilities

read script filedetect source languageload mapping filetranslate code lines

Typical Inputs

source script filetarget languagelanguage pair body file

Typical Outputs

translated script filetranslation notesexecution log

What this skill does

  • read script file
  • detect source language
  • load mapping file
  • translate code lines
  • preserve variable names
  • preserve logic structure
  • preserve statistical estimators
  • preserve standard errors
  • preserve fixed effects
  • preserve merge logic
  • preserve sample restrictions
  • preserve weighting
  • preserve test statistics
  • preserve plot properties
  • preserve colors
  • preserve axis ranges
  • apply project boilerplate
  • write translated script
  • generate translation notes
  • run translated script

Inputs

  • source script file
  • target language
  • language pair body file
  • project configuration

Outputs

  • translated script file
  • translation notes
  • execution log
  • output figure
  • quality report

Requirements

  • Python environment
  • Stata installation
  • R environment
  • file system access
  • shell execution

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.