data-analysis-r

Automate end-to-end R data analysis with dplyr and fixest.

5|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/mgaldino/agents-workflow --skill data-analysis-r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis-r
Source: https://github.com/mgaldino/agents-workflow/tree/main/skills-docs/data-analysis-r
Command: npx skills add https://github.com/mgaldino/agents-workflow --skill data-analysis-r

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Este Skill facilita a análise de dados em R do início ao fim para pesquisas em ciência política, relações internacionais e econometria aplicada, reduzindo o tempo de preparação e aumentando a reprodutibilidade.

Core Features & Use Cases

  • Automated data import & cleaning: importa dados de formatos CSV, Excel e fontes diversas, e realiza limpeza com dplyr e tidyr para deixar o dataset pronto para análise.

  • Econometric modeling: executa regressões com fixest (feols, feglm, fepois), difference-in-differences com did/did2s e outras técnicas conforme necessidade.

  • Results presentation: gera tabelas prontas para publicação com modelsummary ou etable, e cria gráficos com ggplot2 com estilos padrões.

  • Use case: ao trabalhar com dados de painel e variáveis de controle, aplique efeitos fixos e apresente os resultados de forma clara.

Quick Start

Execute uma análise end-to-end em R em um conjunto de dados fornecido, incluindo importação, limpeza, modelagem econométrica com fixest e saída pronta para publicação.

Frequently Asked Questions about data-analysis-r

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

FAQPage Schema
How do I run an end-to-end econometric analysis in R using fixest for panel data?

To run an end-to-end econometric analysis in R, use an automated workflow that imports data, cleans it with dplyr, runs regressions with fixest functions like feols, and presents results using modelsummary for reproducible research outputs.

What is the best way to estimate difference-in-differences models in R for political science research?

Estimating difference-in-differences models in R for political science is best handled using did or did2s packages, integrated into an automated workflow that cleans data with tidyverse and formats results into publication-ready tables.

Can I import and clean data from CSV and Excel formats before running econometric models in R?

Yes, you can import and clean data from CSV and Excel formats before running econometric models in R, using dplyr and tidyr to transform diverse data sources into a structured dataset ready for analysis.

How do I generate publication-ready tables for econometrics results using R?

You generate publication-ready tables for econometrics results in R using the modelsummary or etable packages, which format regression outputs from models like feols or feglm into clear, standardized academic tables.

Does this R data analysis workflow support reproducible research practices?

Yes, this R data analysis workflow supports reproducible research practices by setting global options, using set.seed for randomization, and documenting methodological decisions throughout the data import and modeling process.

When should I use fixest over other regression packages for econometric analysis in R?

You should use fixest for econometric analysis in R when working with panel data and fixed effects, using specialized functions like feols, feglm, and fepois that efficiently handle high-dimensional data.