Individual skill

evo-macro-data-ingestion

Parses ERP .xls tables and CPI .xlsx files, handles multi-row headers, extracts annual totals, computes partial-year averages from quarterly data, and produces clean annual series indexed by integer year.

tasks-evolved/econ-detrending-correlation/environment/skills/evo-macro-data-ingestion/SKILL.md

Read pinned source

Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Local scripts
Last checked
Nov 6, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
97
Repository last updated
Sep 10, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# evo-macro-data-ingestion

Parses Economic Report of the President (ERP) `.xls` tables and CPI `.xlsx` files into clean pandas Series indexed by integer year.

## Key Functions

### `parse_erp_annual_total(filepath, target_year=2024)`
Parses an ERP .xls file to extract the annual "Total" column (first data column).
- Handles multi-row headers, trailing periods on years (e.g., '1973.')
- Handles quarterly data at bottom of table  
- For partial years (e.g., 2024 with Q1-Q3 only), computes average of available quarters
- Uses `engine="xlrd"` for .xls files
- Returns: pd.Series indexed by integer year