時間
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面說明 time 正規概念資料集。
你也可以查看完整的 XML 檔案。
基本資訊
供應商
匯入的命名空間
未匯入任何命名空間。
主題
未定義任何主題。
概念
概念:time_point
time_point [XML] |
時間點 |
日期 |
時間點 (指定的精細程度)。 |
|
沒有本機資源。 |
概念:年份
年份 [XML] |
年份 |
time_point |
精細程度為年度的日期。年份概念通常會直接使用
來定義內含年份的維度。適用對象
舉例來說,按國家/地區劃分的年度人口片段會定義為
如下:
<slices>
<slice id="country_slice">
<dimension concept="country"/>
<dimension concept="time:year"/>
<metric concept="population"/>
<table ref="country_slice_table"/>
</slice>
</slices>
這個切片的資料表定義定義如下:
<tables>
...
<table id="country_slice_table">
<column id="country" type="text"/>
<column id="year" type="date" format="yyyy"/>
<column id="population" type="integer"/>
<data>
<file format="csv" encoding="utf-8">country_slice.csv</file>
</data>
</table>
...
</tables>
此外,這個表格的 CSV 檔案所含資料會如下所示:
country, year, population
AF, 1960, 9616353
AF, 1961, 9799379
AF, 1962, 9989846
AF, 1963, 10188299
...
|
|
沒有本機資源。 |
概念:季度
概念:月
概念:週
概念:日
概念:精細程度
Slice
未定義 Slice。
表格
資料表:精細程度資料表
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[[["容易理解","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-07-25 (世界標準時間)。"],[],["This document details the \"time\" canonical concept dataset from Google, available in XML format. It defines the core concept of `time_point` and specifies time granularities: `year`, `quarter`, `month`, `week`, and `day`. Each time concept extends `time_point` and has a granularity attribute (YEARLY, QUARTERLY, MONTHLY, WEEKLY, DAILY). It provides an example of how to define a slice with the year concept and references the granularity table, which defines the uncertainty of a point in time. The dataset is provided by Google.\n"]]