datacommons-client
從 Data Commons 查詢公共統計數據
Auch verfügbar von: davila7
存取來自 Data Commons 的全球統計數據,包括人口、經濟、健康和環境指標。使用 Python 客戶端方法查詢人口數據、GDP、失業率和地理關係。
Die Skill-ZIP herunterladen
In Claude hochladen
Gehe zu Einstellungen → Fähigkeiten → Skills → Skill hochladen
Einschalten und loslegen
Teste es
Verwendung von "datacommons-client". 取得法國和德國的人口
Erwartetes Ergebnis:
- 法國:67,848,156 人(2023 年)
- 德國:84,358,845 人(2023 年)
- 數據來源:World Bank
Verwendung von "datacommons-client". 顯示美國 2018 年至 2023 年的失業率趨勢
Erwartetes Ergebnis:
- 2018 年:3.9%
- 2019 年:3.7%
- 2020 年:8.1%
- 2021 年:5.4%
- 2022 年:3.6%
- 2023 年:3.6%
Sicherheitsaudit
Niedriges RisikoThis skill is a documentation wrapper for the Data Commons Python client library. All static findings are FALSE POSITIVES: the scanner misinterprets markdown code block delimiters as shell commands, API call examples as network threats, and legitimate documentation patterns as credential exposure. The skill enables read-only access to public statistical data with no code execution capabilities beyond package installation documentation.
Risikofaktoren
⚙️ Externe Befehle (200)
🌐 Netzwerkzugriff (46)
🔑 Umgebungsvariablen (5)
Qualitätsbewertung
Was du bauen kannst
比較區域統計數據
查詢並比較多個州或國家的人口、收入和失業率數據。
存取歷史趨勢
檢索經濟指標、衛生統計或環境測量的時間序列數據。
建構數據驅動應用程式
使用 Python 客戶端函式庫方法將公共統計數據整合到應用程式中。
Probiere diese Prompts
使用 Data Commons 客戶端獲取加利福尼亞州、德克薩斯州和紐約的最新人口數據。
查詢美國從 2010 年到 2023 年的失業率時間序列。
獲取加利福尼亞州所有縣 2020 年的家庭收入中位數。
比較佛羅里達州、喬治亞州和南卡羅來納州的人口、家庭收入中位數和年齡中位數。
Bewährte Verfahren
- 在查詢前始終將地名解析為 DCID,以處理歧義名稱
- 使用實體表達式高效查詢層級結構(一次查詢某州的所有縣)
- 重複查詢相同實體時快取 DCID 解析結果
Vermeiden
- 硬編碼 DCID 而非動態解析名稱
- 對每個實體進行單獨查詢而非批次查詢
- 忽略數據來源層面以確保一致性