历史数据概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
自 2024 年 1 月起,系统会提供每月历史“地点信息”数据。
此数据有助于进行趋势分析,了解某个区域内的地点每月发生了哪些变化。
设置
历史版“地点信息洞见”数据适用于下表中列出的城市。如需有关如何订阅这些数据交换的更多说明,请参阅设置 Places Insights。
架构
历史“地点概览”数据的架构与最新数据的架构相同(请参阅“地点概览”参考),但存在以下例外情况。
排除的字段
历史“地点数据洞见”数据的架构不包含 rating
或 user_rating_count
。
其他字段
除了核心架构之外,历史地点分析洞见数据架构还包含以下字段。
字段名称 |
类型 |
Mode |
说明 |
示例 |
snapshot_date |
DATE |
NULLABLE |
相应地点的快照日期。 |
2024-01-01 |
示例查询
与查询最新数据一样,查询历史数据时,SELECT
语句必须包含 WITH AGGREGATION_THRESHOLD
。(请参阅撰写 Places Insights 查询)。此外,您可能还需要 GROUP BY
snapshot_date
。以下示例展示了如何按月查询营业餐厅的数量。
SELECT WITH AGGREGATION_THRESHOLD
snapshot_date,
COUNT(*) AS count
FROM
`PROJECT_NAME.places_insights_historical___us.places_historical`
WHERE
'restaurant' IN UNNEST(types)
AND
business_status = "OPERATIONAL"
GROUP BY snapshot_date
ORDER BY snapshot_date ASC;
可用的商品详情
下表列出了支持的城市和国家/地区,并提供了订阅链接。您可以针对每个城市和国家/地区订阅抽样数据和完整数据。
示例数据
国家/地区,城市 |
订阅链接 |
表名称 |
澳大利亚悉尼 | AU |
places_insights_historical___au___sample.places_sample_historical
|
巴西圣保罗 | BR |
places_insights_historical___br___sample.places_sample_historical
|
加拿大多伦多 | CA |
places_insights_historical___ca___sample.places_sample_historical
|
法国巴黎 | FR |
places_insights_historical___fr___sample.places_sample_historical
|
德国柏林 | DE |
places_insights_historical___de___sample.places_sample_historical
|
英国伦敦 | GB |
places_insights_historical___gb___sample.places_sample_historical
|
印度孟买 | IN |
places_insights_historical___in___sample.places_sample_historical
|
印度尼西亚雅加达 | ID |
places_insights_historical___id___sample.places_sample_historical
|
意大利罗马 | IT |
places_insights_historical___it___sample.places_sample_historical
|
日本东京 | JP |
places_insights_historical___jp___sample.places_sample_historical
|
墨西哥的墨西哥城 | MX |
places_insights_historical___mx___sample.places_sample_historical
|
西班牙马德里 | ES |
places_insights_historical___es___sample.places_sample_historical
|
瑞士苏黎世 | CH |
places_insights_historical___ch___sample.places_sample_historical
|
美国纽约市 | US |
places_insights_historical___us___sample.places_sample_historical
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-10-02。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-10-02。"],[],[]]