imf-ra-data

Fetch time series data from IMF databases via the internal Python SDK.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/johnsonice/RA-Skills --skill imf-ra-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imf-ra-data
Source: https://github.com/johnsonice/RA-Skills/tree/main/skills/imf-ra-data
Command: npx skills add https://github.com/johnsonice/RA-Skills --skill imf-ra-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, imf_datatools, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Manually searching for IMF data series, mapping indicator codes, and formatting outputs for economic analysis is time-consuming and prone to errors. This Skill automates the entire retrieval workflow for any IMF database, eliminating manual code lookup and formatting work.

Core Features & Use Cases

  • Automated Data Retrieval: Fetches single series or multi-country panels from all major IMF databases (WEO, IFS, BOPS, GFS, DOTS, FSI, etc.) and Haver sources using the internal Python SDK, with automatic handling of LIVE vs vintage database versions.
  • Smart Output Formatting: Generates refreshable Excel files with enriched metadata, or raw wide/long CSV/Excel formats, with layout auto-selected based on the number of indicators, countries, and time periods.
  • Built-in Guardrails: Validates dimension values, retries transient API failures, handles large country panels via automatic key chunking, and enforces safe query policies to avoid overly broad data pulls.
  • Use Case: An economic researcher needing 10 years of nominal GDP and inflation data for G7 countries from the WEO database can request the data in natural language and receive a formatted, metadata-rich Excel file in seconds.

Quick Start

Use the imf-ra-data skill to fetch 2020 to 2024 nominal GDP and inflation data for the United States, Germany, Japan, the United Kingdom, France, and Italy from the WEO database and save it as a refreshable Excel file.

Frequently Asked Questions about imf-ra-data

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

FAQPage Schema
How do I fetch IMF data series for multiple countries using Python?

You can fetch IMF data series for multiple countries using Python by leveraging the internal Python SDK to retrieve single-series or multi-country panel data with automatic frequency conversion, country group resolution, and dimension validation.

What's the best way to export WEO data to a refreshable Excel file?

The best way to export WEO data to a refreshable Excel file is using the imf-ra-data skill, which automatically generates refreshable Excel outputs enriched with metadata and auto-selects the layout based on the number of indicators, countries, and time periods.

Can I retrieve time series data from vintage IMF databases instead of LIVE versions?

Yes, you can retrieve time series data from vintage IMF databases because the internal Python SDK includes automatic handling for both LIVE and vintage database versions across all major sources like WEO, IFS, and BOPS.

Does the IMF data retrieval tool handle transient API failures?

Yes, the IMF data retrieval tool handles transient API failures by applying automatic retry logic during data pulls to ensure reliable extraction without manual intervention.

How does the tool prevent overly broad data queries when pulling large country panels?

The tool prevents overly broad data queries by enforcing safe query policies and handling large country panels via automatic key chunking, ensuring requests remain within valid operational limits.

What IMF databases are supported for economic analysis data pulls?

Supported IMF databases for economic analysis data pulls include WEO, IFS, BOPS, GFS, DOTS, FSI, and Haver sources, accessible through the internal Python SDK for comprehensive research workflows.