歷來資料總覽

系統會從 2024 年 1 月起,提供每月歷來地點洞察資料。 這項資料有助於進行趨勢分析,瞭解特定區域的場所每月變化。

設定

如要查看歷來地點洞察資料,請參閱下表所列城市。如需訂閱這些資料交換服務的額外操作說明,請參閱「設定地點洞察」。

結構定義

歷來地點洞察資料的結構與最新資料相同 (請參閱地點洞察參考資料),但有以下例外狀況。

排除欄位

歷來地點洞察資料的結構定義包含 ratinguser_rating_count

額外欄位

除了核心結構定義外,歷史地點洞察資料的結構定義還包含下列欄位。

欄位名稱 類型 眾數 說明 範例
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

法國巴黎法國

places_insights_historical___fr___sample.places_sample_historical

德國柏林德國

places_insights_historical___de___sample.places_sample_historical

英國倫敦英國

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

羅馬 (義大利)義大利

places_insights_historical___it___sample.places_sample_historical

日本東京日本

places_insights_historical___jp___sample.places_sample_historical

墨西哥墨西哥市MX

places_insights_historical___mx___sample.places_sample_historical

西班牙馬德里西班牙

places_insights_historical___es___sample.places_sample_historical

瑞士蘇黎世CH

places_insights_historical___ch___sample.places_sample_historical

美國紐約市美國

places_insights_historical___us___sample.places_sample_historical