Pdf xlsx pivot report

From XuShuwenn/RedAct · View interactive version

Pdf xlsx pivot report is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Build an Excel report with a SourceData sheet and pivot tables by extracting tabular data from PDFs, merging with spreadsheets, and computing quartiles and totals.

How to use this skill

Skill file

PDF → Excel Pivot Report

Create data-driven Excel reports by extracting rows from tabular PDFs, merging with spreadsheet data, enriching with derived columns (income quartiles and totals), and defining pivot tables that populate on refresh in Excel.

When to Use

Use this skill when:

Core Workflow

  1. Inspect inputs and plan joins
  1. Extract population-like tables from PDF
  1. Read spreadsheet data and standardize types
  1. Merge datasets
  1. Enrich data
  1. Build the Excel report
  1. Communicate refresh behavior

Verification

Before delivering:

Common Pitfalls

Optional Script Usage

The helper script scripts/pivot_tools.py provides two reusable utilities:

Example (Python):

["SA2_CODE","SA2_NAME","STATE","POPULATION_2023","EARNERS","MEDIAN_INCOME","MEAN_INCOME","Quarter","Total"].

from scripts.pivot_tools import assign_quartiles, write_source_and_default_pivots

# df["Quarter"] = assign_quartiles(df["MEDIAN_INCOME"])  # if not already assigned
write_source_and_default_pivots(df, "demographic_analysis.xlsx")

Success criteria:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.