SlideShare a Scribd company logo
1 of 17
データの基本コンセプトを理解する
• データソース
• 一般的なデータセットの種類
• フィールドとは何ですか?
• データ構造について学ぶ
• 行レベルのレコードとは何でしょうか?
• 粒度と集約
• データはTableau上でどう表されているか
この資料の見方
TD
このマークがページ右上に付いているページは
主にTableau Desktopユーザーに関係のあ
ることを表しています。
ヘルプはこちら
このマークは外部の参考資料のURLが付いて
いることを表しています。クリックすることでブラウ
ザが開きます。
点線で囲まれたエリアは補足情報であることを
表しています。
データソースについて学ぶ
© 2019 Tableau Software Inc. 3
一般的なデータセットの種類
データセットとは何でしょうか?
Tableauという文脈でのデータセット(データソースまたはデータベースともいう)には、ビジュアリゼー
ションの構築に使用されるデータが含まれています。
Tableauに表示されるすべての棒グラフ、散布図、折れ線グラフには、データを提供するデータベース
またはスプレッドシートが接続されています。
© 2019 Tableau Software Inc.
Tableauから接続可能な代表的なデータ
スプレッドシート
Microsoft ExcelやGoogleシートなどのスプレッドシートは、データをフラットな構造に整理します。つまり、レコードは単一行のデータとして保存されます。
リレーショナルデータベース(RDB)
リレーショナルデータベースは、各行に一意の識別子が割り当てられた複数のテーブルにデータを格納します。ユーザーは、構造化照会言語(SQL)を
使用して、異なるテーブルからデータをまとめてプルします。
クラウドデータ
組織は、オンプレミスサーバーをサポートする必要がないように、データをクラウドに保存することを好む場合があります。これには、Amazon Web
ServicesやMicrosoft Azureなどの場所に保存されているデータが含まれます。
その他のデータ
Tableauは、.kmlや.shpなどのマッピング用の空間ファイル、およびRで作成された統計ファイルにも接続できます。
4
Tableau Desktopからデータセットに接続すると何が起きる?
© 2019 Tableau Software Inc.
ユーザーがTableauでデータに接続する際、それぞれのデータフィールドは自動的に役割
と型を割り当てられます。
役割 データ型
フィールドはディメンションまたはメジャーという役割が割り
当てられます。
ディメンションとメジャーについてはこの先で更に学びます。
フィールドのデータ型は、フィールドが、たとえば文字列、整数、
または日付であるかどうかを定義します。
5
TD
データ型の割り当てが不適切だった場合、ユーザー自らデータ型を変
更できます。変更はすべて、Tableauデータソース(.tds)ファイルに
メタデータとして保存されます。
(メタデータとは、本体であるデータに関する付帯情報が記載された
データのことです。)
フィールドとはなんですか?
フィールド(別名で列ともいう)は、データセットの1レコードに含まれる情報です。
たとえば、通勤者が異なる交通手段を利用した日数についてデータを収集する場合、データセットには次の表が含まれます。
© 2019 Tableau Software Inc.
通勤者名 交通手段 週毎の日数
ニール 徒歩 2
ニール バス 3
リン 自転車 1
リン カーシェア 3
リン バス 1
メイガン 自動車 2
メイガン 自転車 3
通勤者名、交通手段、週毎の日数はすべてフィールド
定量的なフィールド
(メジャー)
数値が含まれる
定性的なフィールド
(ディメンション)
名称、種類名、いつ、誰、何など
が含まれる
6
フィールドのまとめと具体例
© 2019 Tableau Software Inc.
定性的なフィールド(ディメンション) 定量的なフィールド(メジャー)
説
明
• データを記述、または種類分けするもの
• 何、いつ、誰などの情報を含む
• 定量的なデータの切り口として使える
• 数値データ
• 定性的なデータを計測する
• 四則演算ができる
具
体
例
• 名称(人名、地名、種類名、品名)
• ID
• Eメールアドレス
• 性別
• 配送手段
• 日時
• 売上
• 温度
• 人数
• 体重
• 利益
• 所要時間
7
Tableau Desktop上のディメンションとメジャー
© 2019 Tableau Software Inc.
Tableau Desktopのデータペイン上に表示されているディメンションとメジャー
8
TD
データ構造について学ぶ
© 2019 Tableau Software Inc. 9
行レベルのレコードとは何でしょうか?
「一行のデータには何が含まれているか?」はシンプルですが重要な質問です。
前のレッスンで確認した通勤データを覚えていますか?
© 2019 Tableau Software Inc.
通勤者名 交通手段 週毎の日数
ニール 徒歩 2
ニール バス 3
リン 自転車 1
リン カーシェア 3
リン バス 1
メイガン 自動車 2
メイガン 自転車 3
このデータには家を出てから会社につくまでの旅程の詳細は含ま
れていません。
たとえば、ほとんどの人は、仕事に行く場合、行きと帰りで往復を
しますが、行きと帰りで異なる交通手段を選択することもあれば、
1回の通勤の中でも複数の交通手段を使用する場合もあります。
最初のデータセットは、これらの詳細を含んでいません。
以下の質問の答えを知りたい場合はどうしたら良いでしょうか?
• 複数の交通手段を使用した通勤者が1日で何人いたか
• 出勤と帰宅の交通パターンではどのような違いがあるか
• それぞれの通勤にどれくらい時間がかかったか
• 各通勤経路の長さは?
次のページへ
10
行レベルのレコードとは何でしょうか?
前ページの質問に答えたい場合は、次のような、より詳細なデータを収集する必要があります。
© 2019 Tableau Software Inc.
通勤者名 出退勤 出発時間 到着時間 日付 交通手段 距離/km
メイガン 出勤 7:45 am 8:50 am 2019/7/17 自転車 9
メイガン 退勤 5:15 pm 5:45 pm 2019/7/17 バス 6
メイガン 退勤 5:45 pm 6:15 pm 2019/7/17 自転車 3
このデータセットでは、1行に含まれるデータは最初のデータセットよりも詳細です。言い換えると粒度
が細かくなります。
データの粒度を知ることは何故大切なのでしょうか?
データの粒度とは、データの詳細レベルを指します。データの粒度が荒くなるにつれて集約された
データと呼びます。集約とは、データがどうまとめられているかを指します。
一行に含まれているデータがどれだけ集約されているかは、データにどのような質問ができるか
や、データからどのような洞察が得られるかに大きく影響します。
11
行レベルのレコードとは何でしょうか?
© 2019 Tableau Software Inc.
ビジュアライゼーションにしかアクセスできない場合、データ1行に含まれる詳細レベルをどのように判断できますか?
ビューの作成者が設定を有効にしている場合は、ビジュアライゼーションでマークを選択し、
元になるデータを表示し、ビジュアライゼーションの背後にあるデータの行レベルのレコードを
表示できます。これは、データセットに含まれる詳細の深さを判断する方法です。
基になるデータを表示する方法の完全な手順と、チャートを表示するための他のヒントにつ
いては、以下を参照してください。
ヘルプはこちら
12
粒度と集約
ディメンションとメジャーをビューの内外に移動すると、ビューの詳細レベルが変わります。
• デフォルトでは、ビューに配置されたメジャーはSUMによって集計されます。つまり、そのフィールドのすべて
の行のデータが合計されます。
• メジャーは合計以外にも、平均、中央値、カウント、または個別カウントとして集計することもできます。
• ディメンションは、集計された合計をカテゴリごとの小計に分割します。
以下のTableauの「集計、粒度、および比率の計算」ビデオでは、集計とデータの粒度について詳しく説
明しています。利益率を調べる例を使用し、Tableauチャートの動作を理解するのに役立ちます。
© 2019 Tableau Software Inc.
無料トレーニングビデオはこちら
13
TD
データはTableau上でどう表されているか
最初のレッスン「一般的なデータセットの種類」では、データの役割とデータ型について学習しました。この
レッスンでは、Tableauユーザーインターフェイスでそれらがどのように表示されるかを説明します。
Tableauのデータペインの各フィールドには、フィールドのデータ型を示すアイコンが左側にあります。
Tableauのデータに接続すると、フィールドには役割とデータ型の両方が自動的に割り当てられます。デー
タグリッドまたはデータペインでデータ型を手動で変更できます。
© 2019 Tableau Software Inc. 14
TD
データペインの見方
アイコンがデータ型を表しています
© 2019 Tableau Software Inc.
階層
[カテゴリ]、[サブカテゴリ]、および[製品名]フィールドは
階層関係が設定されています。これは、チャート上でドリ
ルダウンを可能とします。
日付
[オーダー日]のアイコンは日付データであることを表して
います。日付は不連続または連続です。この画像の日付
は青であり、不連続であることを示しています。
日付フィールドを使用するチャートを作成している場合、
Tableauが日付を処理する方法を理解することが重要
です。
文字列
[顧客区分]は、カテゴリー、言い換えると定性的なフィー
ルドです。
青いアイコンは、フィールドが不連続であることを示します。
つまり、個別の部分を含むデータです。
ほとんどのディメンションは不連続のフィールドです。
ディメンション
メジャー
不正なフィールド
この赤い感嘆符は、フィールドに問題があることを示してい
ます。計算式の場合は計算式が不完全であることを表し
ます。
計算フィールド
[利益率]は計算フィールドです。
緑色のアイコンは、連続したフィールドであることを示して
います。
ほとんどのメジャーは連続フィールドです。
Tableauの生成したフィールド
オレンジ色の枠で強調表示されたフィールドは、すべて
Tableauで生成されたフィールドです。
作成しているグラフの種類によっては、ビューに自動的に
追加される場合があります。チャートの構築に習熟するに
つれて、Tableauの支援なしでこれらのフィールドを使用
する方法を学べるでしょう
15
TD
データ型の例
© 2019 Tableau Software Inc.
文字列型
不連続の日付&時間型
不連続の日付型
地理的データ(都道府県、郵便番号など)
連続の数値型
イコールマークは計算フィールドであることを表している
次のビデオには、Tableauがさまざまなデータフィールドで実行する処理の詳細が説明されており、次
の情報が含まれています。
• ディメンションとメジャー、不連続フィールドと連続フィールドの詳細
• デフォルトのタイプを変更するとどうなるか
• 軸とラベルの違い
• ビューでのさまざまなデータフィールドの動作
無料トレーニングビデオはこちら
16
TD
© 2019 Tableau Software Inc. 17

More Related Content

Recently uploaded

論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案sugiuralab
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 

Recently uploaded (8)

論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
TataPixel: 畳の異方性を利用した切り替え可能なディスプレイの提案
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

データの基本コンセプトを理解する

Editor's Notes

  1. Good morning / afternoon! My name is… I’m so excited to talk to you today about the Tableau platform and how it can help you drive your organization. My goal today is not only to learn from each of you, but also to share a bit about the Tableau story with you – what makes us unique, and why tens of thousands of organizations around the world have chosen Tableau as their enterprise analytics platform.