translate-code

Community

Stata ↔ R code translator

Authornaj2r
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Translates Stata code into the equivalent R code (and vice versa) using established equivalence patterns to reduce manual rewriting.

Core Features & Use Cases

  • Cross-language translation: Convert common data management, regression, and table-output operations between Stata and R (tidyverse + fixest).
  • Consistency guarantees: Aligns missing-value handling and syntax conventions to minimize behavioral differences.
  • Use Case: A researcher has a Stata script; use this Skill to generate an R script that preserves results and workflows.

Quick Start

Translate a given Stata code snippet to its R equivalent using tidyverse and fixest conventions.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: translate-code
Download link: https://github.com/naj2r/claude-econ-paper-template/archive/main.zip#translate-code

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.