datacommons-client
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
Skill by agent-skills-hub
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-skills-hub-datacommons-client
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
datacommons-client- Description
- Work with Data Commons, a platform providing programmatic access to public statistical data from global sources. Use this skill when working with demographic data, economic indicators, health statistics, environmental data, or any public datasets available through Data Commons. Applicable for querying population statistics, GDP figures, unemployment rates, disease prevalence, geographic entity resolution, and exploring relationships between statistical entities.
- License
- MIT
- Metadata
- skill-author: K-Dense Inc.
- Instructions
- 248 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (5)
- SKILL.md
- getting_started.md · references/
- node.md · references/
- observation.md · references/
- resolve.md · references/
SKILL.md (first lines)
# Data Commons Client
## Overview
Provides comprehensive access to the Data Commons Python API v2 for querying statistical observations, exploring the knowledge graph, and resolving entity identifiers. Data Commons aggregates data from census bureaus, health organizations, environmental agencies, and other authoritative sources into a unified knowledge graph.
## Installation
Install the Data Commons Python client with Pandas support:
```bash
uv pip install "datacommons-client[Pandas]"
```
For basic usage without Pandas:
```bash
uv pip install datacommons-client
```
## Core Capabilities
The Data Commons API consists of three main endpoints, each detailed in dedicated reference files:
### 1. Observation Endpoint - Statistical Data Queries
Query time-series statistical data for entities. See `references/observation.md` for comprehensive documentation.
**Primary use cases:**
- Retrieve population, economic, health, or environmental statistics
- Access historical time-series data for trend analysis
- Query data for hierarchies (all counties in a state, all countries in a region)
- Compare statistics across multiple entities
- Filter by data source for consistency
**Common patterns:**
```python
from datacommons_client import DataCommonsClient
client = DataCommonsClient()
# Get latest population data
response = client.observation.fetch(
variable_dcids=["Count_Person"],
entity_dcids=["geoId/06"], # California
date="latest"
)
# Get time series
response = client.observation.fetch(
variable_dcids=["UnemploymentRate_Person"],
entity_dcids=["country/USA"],
date="all"
)
# Query by hierarchy
response = client.observation.fetch(
variable_dcids=["MedianIncome_Household"],
entity_expression="geoId/06<-containedInPlace+{typeOf:County}",
date="2020"
)
```
### 2. Node Endpoint - Knowledge Graph Exploration
Explore entity relationships and properties within the knowledge graph. See `references/node.md` for comprehensive documentation.
**Primary use cases:**
- Discover available properties for entities
- Navigate geographic hierarchies (parent/child relationships)
- Retrieve entity names and metadata
- Explore connections between entities
- List all entity types in the graph
**Common patterns:**
```python
# Discover properties
labels = client.node.fetch_property_labels(
node_dcids=["geoId/06"],
out=True
)
# Navigate hierarchy
children = client.node.fetch_place_children(
node_dcids=["country/USA"]
)
# Get entity names
names = client.node.fetch_entity_names(
node_dcids=["geoId/06", "geoId/48"]
)
```
### 3. Resolve Endpoint - Entity Identification
Translate entity names, coordinates, or external IDs into Data Commons IDs (DCIDs). See `references/resolve.md` for comprehensive documentation.
**Primary use cases:**
- Convert place names to DCIDs for queries
- Resolve coordinates to places
- Map Wikidata IDs to Data Commons entities
- Handle ambiguous entity names
**Common patterns:**
```python
# Resolve by name
response = client.resolve.fetch_dcids_by_name(
names=["California", "Texas"],
entity_type="State"
)
# Resolve by coordinates
dcid = client.resolve.fetch_dcid_by_coordinates(
latitude=37.7749,
longitude=-122.4194
)
# Resolve Wikidata IDs
response = client.resolve.fetch_dcids_by_wikidata_id(
wikidata_ids=["Q30", "Q99"]From agent-skills-hub/agent-skills-hub, MIT.
More from agent-skills-hub/agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
dotnet-backend-patterns
agent-skills-hub
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
copy-editing
agent-skills-hub
When the user wants to edit, review, or improve existing marketing copy.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
e2e-testing-patterns
agent-skills-hub
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
ai-product
agent-skills-hub
Every product will be AI-powered.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
algolia-search
agent-skills-hub
Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia…
SkillDFreshness: D★ 123Claude Code +9
Signals
- Stars
- 123
- Forks
- 44
- Open issues
- 6
- Last commit (this folder)
- Mar 2, 2026 (8 months ago)
- Last release
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- agent-skills-hub.github.io/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.652score
datacommons-client
foryourhealth111-pixel
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillAFreshness: A★ 3.8KClaude Code +9 - 0.302score
datacommons-client
Zaoqu-Liu
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillDFreshness: D★ 60Claude Code +9 - 0.269score
datacommons-client
lamm-mit
Work with Data Commons, a platform providing programmatic access to public statistical data from global sources.
SkillCFreshness: C★ 250Claude Code +9
More from agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9
Cite this page
datacommons-client skill. Agent Mart. https://agentmart.dev/skills/agent-skills-hub-datacommons-client (last updated 2026-10-24)