datacommons-client
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.
npx skills add LeonChaoX/qinyan-academic-skills --skill datacommons-client --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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:** ``
- Overview
- Installation
- Core Capabilities
- 1. Observation Endpoint - Statistical Data Queries
- 2. Node Endpoint - Knowledge Graph Exploration
- 3. Resolve Endpoint - Entity Identification
- Typical Workflow
- Finding Statistical Variables
- Working with Pandas
- API Authentication
- Reference Documentation
- Additional Resources
- Tips for Effective Use
uv pip install "datacommons-client[Pandas]" uv pip install datacommons-client
What does the datacommons-client skill do?
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.
How do I install it?
Run `npx skills add LeonChaoX/qinyan-academic-skills --skill datacommons-client --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
