Evo macro data ingestion

From OpenLAIR/OpenSkill · View interactive version

Evo macro data ingestion is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. 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.

How to use this skill

Skill file

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).

`compute_partial_year_average(df, target_year=2024)`

Computes arithmetic mean of available quarterly SAAR values for a partial year.

`process_cpi_annual(filepath)`

Reads CPI data from .xlsx file. Auto-detects format:

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-macro-data-ingestion/scripts')
from utils import parse_erp_annual_total, process_cpi_annual

pce_nominal = parse_erp_annual_total('/root/ERP-2025-table10.xls', target_year=2024)
pfi_nominal = parse_erp_annual_total('/root/ERP-2025-table12.xls', target_year=2024)
cpi_annual = process_cpi_annual('/root/CPI.xlsx')

Data Format Notes

ERP Tables (.xls)

CPI File (.xlsx)

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.