data-analysis

Execute end-to-end R data analysis with regression and publication-ready outputs.

1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/AndreaMentasti/tweet-election --skill data-analysis-andreamentasti
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/AndreaMentasti/tweet-election/tree/main/.claude/skills/data-analysis
Command: npx skills add https://github.com/AndreaMentasti/tweet-election --skill data-analysis-andreamentasti

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the entire data analysis workflow in R, from initial data loading and exploration to complex regression analysis and the generation of publication-ready tables and figures.

Core Features & Use Cases

  • Comprehensive Workflow: Handles data loading, exploratory analysis, statistical modeling, and output generation.
  • Reproducible Analysis: Enforces code conventions, script structure, and saving of intermediate objects for reproducibility.
  • Publication Quality Output: Generates tables using modelsummary and figures using ggplot2 with a project theme, suitable for reports and publications.
  • Use Case: Analyze election-related tweet data to identify trends, perform regressions with fixed effects, and produce a report with key findings and visualizations.

Quick Start

Use the data-analysis skill to perform an end-to-end R data analysis on the dataset located at 'data/county_panel.csv'.

Frequently Asked Questions about data-analysis

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

FAQPage Schema
How do I run an end-to-end R data analysis workflow with regression and visualization?

An end-to-end R data analysis workflow covers data exploration, regression modeling, and generation of publication-ready tables and figures. This process uses libraries like tidyverse for exploration, fixest for panel data regressions, and modelsummary for formatted outputs.

Can I perform regression analysis with fixed effects on panel data in R?

Yes, regression analysis with fixed effects on panel data is supported using the fixest package. This allows you to model complex datasets with strict deterministic execution and adhere to standard R coding conventions for statistical modeling.

How do I generate publication-ready tables and figures from statistical models in R?

You can generate publication-ready tables and figures using the modelsummary library for tables and ggplot2 for visualizations. The workflow enforces a project theme and saves intermediate objects to ensure outputs are suitable for reports and publications.

What is the best way to ensure reproducible R data analysis and script structure?

Reproducible R data analysis is achieved by enforcing strict code conventions, structured script organization, and saving intermediate objects. This deterministic approach ensures that data loading, statistical modeling, and output generation can be consistently replicated.

Does this R data analysis workflow support exploratory data analysis on CSV datasets?

Yes, the workflow supports exploratory data analysis on CSV datasets, such as analyzing county panel data or tweet data. It utilizes tidyverse libraries to load, clean, and explore datasets before progressing to regression analysis and output generation.