datacommons-client

Query Data Commons statistical data via Python client endpoints.

18|1|Updated Dec 27, 2025
One-click install
npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill datacommons-client-logauaengstrom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: datacommons-client
Source: https://github.com/LogauaEngstrom/claude-scientific-skills/tree/main/scientific-skills/datacommons-client
Command: npx skills add https://github.com/LogauaEngstrom/claude-scientific-skills --skill datacommons-client-logauaengstrom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Access to Data Commons statistical data is simplified through a Python client, enabling programmatic queries and analysis without manual API calls.

Core Features & Use Cases

  • Retrieve observations (time-series and latest) from Data Commons for geography, demographics, economy, and health.
  • Navigate and resolve DCIDs from place names or coordinates, then explore the knowledge graph for context.
  • Inspect and compare variables across entities using the Observation, Resolve, and Node endpoints.

Quick Start

Install the datacommons-client package and run a basic observation fetch to retrieve latest data for a resolved DCID.

Frequently Asked Questions about datacommons-client

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

FAQPage Schema
How do I query time-series data from Google Data Commons in Python?

You can query time-series data from Data Commons using a Python client that retrieves observations programmatically, enabling analysis of geography, demographics, economy, and health datasets without manual API calls.

What is DCID resolution and how does it work with statistical data?

DCID resolution maps place names or coordinates to unique Data Commons identifiers, allowing you to navigate the knowledge graph and retrieve contextual statistical observations for specific entities.

Can I use Pandas with Data Commons observations for analytics?

Yes, the Python client integrates with Pandas, allowing you to fetch Data Commons observations and load them directly into DataFrames for time-series analysis and cross-entity variable comparisons.

How do I resolve place names to DCIDs for knowledge graph exploration?

You resolve place names to DCIDs by using the Resolve endpoint, which translates names or coordinates into identifiers for navigating the Data Commons knowledge graph and retrieving related statistical variables.

Does the Data Commons Python client support coordinate-based entity resolution?

Yes, the client supports coordinate-based entity resolution through the Resolve endpoint, enabling you to map geographic coordinates directly to Data Commons identifiers for localized statistical data queries.

What's the best way to compare variables across different entities in Data Commons?

The best way to compare variables across entities is using the Observation and Node endpoints, which let you inspect and retrieve statistical data for multiple resolved DCIDs and analyze differences within the Pandas integration.