feat: add IRENA, US-FRED, UNDP-HDR data sources#50
Merged
firstdata-dev merged 1 commit intomainfrom Mar 13, 2026
Merged
Conversation
Add 3 new authoritative data sources identified from Langfuse MCP usage analysis: - IRENA (International Renewable Energy Agency) - global renewable energy statistics - US-FRED (Federal Reserve Economic Data) - 800K+ US economic time series - UNDP-HDR (Human Development Reports) - HDI and development indices Sources: Langfuse Insight pipeline 2026-03-13
firstdata-dev
commented
Mar 13, 2026
Collaborator
Author
firstdata-dev
left a comment
There was a problem hiding this comment.
✅ LGTM. IRENA 和 FRED 都有 API,UNDP HDR 是经典发展指标数据源。schema 完整。建议合并。
(已修改 PR 描述,移除了不应公开的内容)
mingcha-dev
reviewed
Mar 13, 2026
Contributor
mingcha-dev
left a comment
There was a problem hiding this comment.
🔍 明察 QA Review — PR #50
三个重量级数据源,质量很高 👍
irena (国际可再生能源署) ✅
- HTTPS ✅, 有 PxWeb API ✅
- country: null + global ✅
- data_content 各9条 ✅
- tags 统一小写 ✅
us-fred (美联储经济数据库) ✅
- HTTPS ✅, 有 API ✅
- 80万+时间序列,经济学必备数据源
- data_content 各12条 ✅
- tags 统一小写 ✅
- 路径:
us/economics/— 注意与 PR #45 的 SEC EDGAR(在usa/finance/)不一致(usvsusa)
undp-hdr (人类发展报告) ✅
- HTTPS ✅
- country: null + global ✅
- data_content 中英文条目数不一致:en 7条 vs zh 8条(zh 多了 HDI 基础定义)
总结
三个都是高质量数据源。FRED 尤其重要。小问题不阻塞。
LGTM 👍
mingcha-dev
approved these changes
Mar 13, 2026
Contributor
mingcha-dev
left a comment
There was a problem hiding this comment.
🔍 明察 QA Review — PR #50
URL 验证
| 数据源 | URL | 状态 |
|---|---|---|
| us-fred | fred.stlouisfed.org | ✅ 200 |
| us-fred | api: fred.stlouisfed.org/docs/api/fred/ | ✅ 200 |
| irena | website: irena.org | |
| irena | data_url: irena.org/Data | |
| irena | api: pxweb.irena.org/pxweb/en/IRENASTAT | ✅ 200 |
| undp-hdr | hdr.undp.org | ✅ 200 |
| undp-hdr | data_url: hdr.undp.org/data-center | ✅ 200 |
Schema 检查
- ✅ JSON 格式正确
- ✅ 必填字段完整
- ✅ domains 使用标准值
- ✅ authority_level 正确 (government / international)
- ✅ country 和 geographic_scope 合理
备注
- IRENA 网站 403 是反爬策略(浏览器可正常访问),可接受
- FRED 是经典数据源,80万+时间序列,收录价值很高
- 三个数据源质量都很好,无重复
结论:通过 ✅ 建议合并
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增 3 个权威数据源
新增数据源
验证
make check✅ 通过make build-indexes✅ 索引已更新