WHAT IT ANSWERS
这张表适合回答什么
- 按 canonical_dataset_id 拉取普查类宏观序列
- 用 vintage_ts 做 point-in-time 回溯
- 与 macro_panel 配合,单值序列与多指标面板分开读取
DATASET · qveris
qveris.macro_series
QVeris 并集单值宏观时间序列的**朋友可见子集**,同样只含公有领域数据集, 一行一个观测值(series_key × 地区 × 频率 × 观测日,带 PIT vintage)。 混在原始关系里的付费源数据集不可见。查询必须指定 canonical_dataset_id。
observation_dateWHAT IT ANSWERS
GRAIN & TIME
KEY FIELDS
canonical_dataset_idcanonical_record_keyRECOMMENDED JOINS
该表主要按自身业务键使用,目前没有推荐的跨表主键联接。
HOW TO QUERY SAFELY
先用 catalog 确认当前契约;必须提供 canonical_dataset_id;单页最多 5000 行,该表不提供稳定 cursor,结果过大时必须缩小标的、日期或其他筛选。
MACHINE CONTRACT
canonical_dataset_id, canonical_record_key—relation_defaultcanonical_dataset_id→ canonical_dataset_id · string · 必填frequency→ frequency · stringgeography→ geography · stringseries_key→ series_key · stringPOINT IN TIME
该资产没有 PIT 契约。普通 rows 端点仍按当前公开读模式返回数据;不要把它表述成历史时点快照。
COPY-READY CALLS
同一数据集可用 HTTP、Python SDK、CLI 或 MCP;Key 始终只通过环境变量/Bearer Header 传递。
curl --fail-with-body -H "Authorization: Bearer $FRIENDS_DATA_API_KEY" "https://api.alphahubs.uk/api/v1/data/datasets/qveris/macro_series/rows?limit=100&canonical_dataset_id=FILTER_VALUE&start=2026-08-01&end=2026-08-01"from friends_data_api import FriendsDataClient, Settings
async with FriendsDataClient(Settings.from_env()) as client:
page = await client.get_dataset_rows('qveris', 'macro_series', limit=100, start='2026-08-01', end='2026-08-01', filters={'canonical_dataset_id': 'FILTER_VALUE'})
print(page.data)
if page.has_more:
print("next cursor:", page.next_cursor)friends-data get-dataset-rows qveris macro_series --limit 100 --start 2026-08-01 --end 2026-08-01 --filter canonical_dataset_id=FILTER_VALUE{
"arguments": {
"dataset": "macro_series",
"end": "2026-08-01",
"filters": {
"canonical_dataset_id": "FILTER_VALUE"
},
"limit": 100,
"namespace": "qveris",
"start": "2026-08-01"
},
"tool": "get_dataset_rows"
}FIELD DICTIONARY
descriptionSource 可在 JSON 中区分仓库注释、标准术语表和名称推导说明。
| # | 字段 | ClickHouse 类型 | JSON | 可空 | 角色 | 说明 |
|---|---|---|---|---|---|---|
| 1 | canonical_dataset_id | String | string | no | filter, required_filter, default_order | Identifier for canonical dataset.名称推导 |
| 2 | canonical_record_key | String | string | no | default_order | Source-normalized field: canonical record key.名称推导 |
| 3 | series_key | String | string | no | filter | Source-normalized field: series key.名称推导 |
| 4 | geography | LowCardinality(String) | string | no | filter | Source-normalized field: geography.名称推导 |
| 5 | frequency | LowCardinality(String) | string | no | filter | Source-normalized field: frequency.名称推导 |
| 6 | observation_datedate | Date32 | string / date | no | time | Calendar date for observation date (YYYY-MM-DD).名称推导 |
| 7 | vintage_tsUTC_datetime | Nullable(DateTime64(3, 'UTC')) | string / date-time | yes | value | UTC timestamp for vintage ts.名称推导 |
| 8 | value | Nullable(Float64) | number | yes | value | Numeric or source-normalized value for the metric.标准术语表 |
| 9 | unit | LowCardinality(String) | string | no | value | Unit attached to the numeric observation.标准术语表 |
| 10 | dimensions | Map(String, String) | object | no | value | Source-normalized field: dimensions.名称推导 |
| 11 | source_tool_id | String | string | no | value | Identifier for source tool.名称推导 |
| 12 | source_record_id | String | string | no | provenance | Provider-side identifier for the source record.标准术语表 |
| 13 | ingest_run_id | String | string | no | provenance | Identifier of the ingestion run that produced the row.标准术语表 |
| 14 | version_tsUTC_datetime | DateTime64(3, 'UTC') | string / date-time | no | provenance | UTC timestamp associated with the row version.标准术语表 |
换一个字段名、类型或角色。
结构来自 Friends 只读身份可见的真实 serving relation;权限、过滤、排序、PIT 与分页来自可执行 DatasetSpec。Schema observed at 2026-10-06T18:08:52Z。