历史数据概览

自 2024 年 1 月起,系统会提供每月历史“地点信息”数据。 此数据有助于进行趋势分析,了解某个区域内的地点每月发生了哪些变化。

设置

历史版“地点信息洞见”数据适用于下表中列出的城市。如需有关如何订阅这些数据交换的更多说明,请参阅设置 Places Insights

架构

历史“地点概览”数据的架构与最新数据的架构相同(请参阅“地点概览”参考),但存在以下例外情况。

排除的字段

历史“地点数据洞见”数据的架构包含 ratinguser_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