science 這項產品或功能仍在實驗階段 (正式發布前)。正式發布前的產品和功能僅提供有限支援,且正式發布前產品和功能的變更可能與其他正式發布前版本不相容。正式發布前產品/功能受到《
Google 地圖平台服務專屬條款》規範。詳情請參閱
推出階段說明。
註冊即可試用 Places Insights!
歷來資料總覽
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
系統會從 2024 年 1 月起,提供每月歷來地點洞察資料。
這項資料有助於進行趨勢分析,瞭解特定區域的場所每月變化。
設定
如要查看歷來地點洞察資料,請參閱下表所列城市。如需訂閱這些資料交換服務的額外操作說明,請參閱「設定地點洞察」。
結構定義
歷來地點洞察資料的結構與最新資料相同 (請參閱地點洞察參考資料),但有以下例外狀況。
排除欄位
歷來地點洞察資料的結構定義不包含 rating
或 user_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
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間: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"]],["上次更新時間:2025-10-02 (世界標準時間)。"],[],[]]