data-analysis

Automate R-based data analysis workflows and generate publication-ready output.

Updated Jun 27, 2026
One-click install
npx skills add https://github.com/fredmilhome/laffer_tobacco --skill data-analysis-fredmilhome
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/fredmilhome/laffer_tobacco/tree/main/.claude/skills/data-analysis
Command: npx skills add https://github.com/fredmilhome/laffer_tobacco --skill data-analysis-fredmilhome

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tidyverse, fixest, modelsummary, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines R-based data analysis, automating exploration, cleaning, regression, and delivering publication-ready tables and figures.

Core Features & Use Cases

  • End-to-End R Analysis: Manages the entire analysis pipeline from data exploration to publication-ready results.
  • Command Execution: Utilizes user input to run specific R commands like loading datasets, exploratory data analysis, and regressions.
  • Publication Ready Output: Generates numbered R scripts and outputs that are ready for inclusion in publications.
  • Use Case: For users seeking to conduct an R-based data analysis, this skill can assist with tasks such as "run a regression on X" or "analyze this dataset."

Quick Start

Use the data-analysis skill to analyze the dataset 'data/county_panel.csv' with the following goals: "explore data", "run regression with state fixed effects on wages using CPS data", "produce summary stats and tables".

Frequently Asked Questions about data-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate R data analysis workflows for academic research?

This Skill automates R data analysis workflows by executing scripts that handle data loading, exploratory data analysis, regression modeling, and publication-ready output generation in one pipeline. It manages the entire process from data exploration to final results using R.

Can I generate publication-ready tables and figures directly from an R regression?

Yes, publication-ready tables and figures can be generated directly from R regressions. The Skill uses packages like modelsummary and fixest to format regression outputs and exploratory data analysis results into numbered R scripts suitable for academic publication.

What R packages are required for regression modeling and exploratory data analysis in this workflow?

The required R packages for this data analysis workflow are tidyverse, fixest, and modelsummary. Tidyverse handles data cleaning and exploration, while fixest and modelsummary manage regression modeling and formatting publication-ready tables.

How do I run a regression with fixed effects on a specific dataset using R?

To run a regression with fixed effects, you provide a command specifying your dataset and fixed effect variables. The Skill uses the fixest package to execute the regression and modelsummary to produce the final summary tables.

Does this data analysis approach support automated script creation for reproducible research?

Yes, this approach supports reproducible research through automated script creation. It generates numbered R scripts and outputs during the data analysis pipeline, ensuring that exploratory data analysis and regression steps are documented and ready for publication.