← All skills
r-python-translation
85 / 100 · Low risk
Fine to try.
By brycewang-stanford/Auto-Empirical-Research-Skills (GitHub) · research · 5,016 stars · scanned at commit 8684584
R-to-Python translation for data analysis. Maps R packages (tidyverse, ggplot2, fixest, survey, sf, plm) to Python equivalents (polars, plotnine, pyfixest, svy, geopandas). Use when user has R background or requests R-equivalent code comments.
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 20 places.
Show 17 more
- skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 441
| Power calculations | `rdpower` | `rdpower` | `pip install rdpower` | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 734
| `Synth` | `SyntheticControlMethods` | `pip install SyntheticControlMethods` | Medium | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 737
| N/A | `CausalPy` (Bayesian SC) | `pip install CausalPy` | Different methodology | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 738
| N/A | `synthdid` | `pip install synthdid` | Medium (synthetic DiD) | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 859
| `miceforest` | `pip install miceforest` | Community package; less validated than R mice | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 877
| **Callaway-Sant'Anna** | `did::att_gt()` | `csdid.att_gt()` | Medium | `pip install csdid` | Community port | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 880
| **RD (sharp/fuzzy)** | `rdrobust::rdrobust()` | `rdrobust.rdrobust()` | Very High | `pip install rdrobust` | Same authors | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 881
| **RD plots** | `rdrobust::rdplot()` | `rdrobust.rdplot()` | Very High | `pip install rdrobust` | Same authors | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 882
| **RD density test** | `rddensity::rddensity()` | `rddensity.rddensity()` | Very High | `pip install rddensity` | Same authors | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 889
| **Marginal effects** | `marginaleffects` | `marginaleffects` | High | `pip install marginaleffects` | Same author; Python is alpha | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 890
| **Matching (PSM)** | `MatchIt::matchit()` | `pymatchit-causal` | Low | `pip install pymatchit-causal` | **Significant gap** | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 892
| **Synthetic control** | `Synth`, `augsynth` | `CausalPy` (Bayesian) | Low | `pip install CausalPy` | Different methodology | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 893
| **Causal impact** | `CausalImpact` | `CausalPy` (ITS) | Medium | `pip install CausalPy` | Different methodology | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 894
| **Causal forests** | `grf` | `econml` | Medium | `pip install econml` | Different implementation | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/causal-inference.md, line 895
| **Survival/Cox** | `survival::coxph()` | `lifelines.CoxPHFitter()` | High | `pip install lifelines` | Good Python coverage | - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/external-resources.md, line 187
`pip install causaldata`). - skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation/references/workflow-environment.md, line 472
`pip install` during analysis.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'r-python-translation' ] || [ -L ~/.agents/skills/'r-python-translation' ]; then echo 'A skill folder named r-python-translation already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills' "$d" && git -C "$d" checkout --quiet '8684584e7d1127940f018157d2c579974fae8f79' -- 'skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/17-DAAF-Contribution-Community-daaf/dot-claude/skills/r-python-translation' ~/.agents/skills/'r-python-translation' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'r-python-translation' ~/.claude/skills/'r-python-translation' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for brycewang-stanford/Auto-Empirical-Research-Skills shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/brycewang-stanford/Auto-Empirical-Research-Skills/)
Score history
| Date | Version | Score |
|---|
| 2026-11-10 | 8684584 | 85 |
| 2026-11-08 | bfa0a6e | 85 |
| 2026-11-07 | bfa0a6e | 85 |