SlideShare une entreprise Scribd logo
1  sur  9
Télécharger pour lire hors ligne
Exploring Datasets With SQLite
Unlocking New Insights Into the World of European
Soccer Through the European Soccer Database (ESD)
Author: Anthony Mok
Date: 18 Nov 2023
Email: xxiaohao@yahoo.com
European Soccer Database (ESD)
European Soccer Database (ESD) is a
comprehensive dataset that contains
detailed information about:
• European soccer leagues
• Teams
• Players
• Matches
• Covers 11 European countries
• Data from the 2008-2016 seasons
Database’s Characteristics Entities in the Database
Consists of 7 tables: Country, League, Match, Player,
Player Attributes, Team, ands Team Attributes
Project’s Context, Objective & Strategies
Context
European Soccer Database (ESD)
used to study team dynamics and
identify the factors that lead to
player’s and team’s success
Objective
Run queries to inspect its
structure through SQLite
Strategies*
• Import the European Soccer Database file into
DB Browser (SQLite) and find the total number
of tables in the database
• Using the ‘Country’ table, run a SQL query to
show the list of countries in descending order (Z-
A) based on the country name
• Display the specified columns from the
‘Team_Attributes’ table with filtered rows based
on ‘buildUpPlaySpeed’
• List all the players with the specified conditions
in a table with the specified columns
* This is just a sample of many queries
deployed on this database
Importing File to SQLite; 8 Tables Found
European Soccer Database in SQLlite
Listing of Countries
Following SQL query script was used to
show the list of countries, in descending
order (Z-A), based on the country name in
the “Country” table:
SELECT
name as [List of Countries]
FROM
Country
ORDER BY
name DESC;
Conditionally Display Selected Columns
Following SQL query script was used to
display, in this order, the fields of
‘team_api_id’, ‘date’, ‘buildUpPlaySpeed’,
‘buildUpPlayDribblingClass’ and
‘buildUpPlaySpeedClass’. Only rows with
‘buildUpPlaySpeed’ greater than 74 but less
than 79 were displayed:
SELECT
team_api_id as [Team API ID],
strftime("%d-%m-%Y", date) as [Date], -- since date was asked for, the time was
excluded from the query
buildupplayspeed as [Build Up Play Speed],
buildUpPlayDribblingClass as [Build Up Play Dribbing Class],
buildUpPlaySpeedClass as [Build Up Play Speed Class]
FROM
Team_Attributes
WHERE
buildUpPlaySpeed BETWEEN 75 AND 78; /* since the range is >74, but < 79
which means the WHERE Clause
excludes these two numbers
*/
Conditionally Display Selected Players
Following SQL query script (found in the next slide) was used to list all the
players with the following conditions:
 height: more than 181 cm
 preferred_foot: right
 attacking_work_rate: high
Data is shown in a table with fields ordered in the following manner:
‘player_api_id’, ‘player_name’, ‘height’, ‘attacking_work_rate’ and
‘preferred_foot’
Conditionally Display Selected Players
SELECT
p.player_api_id as "Player's API ID", -- aliases were used to improve readibility of this query
p.player_name as "Player's Name",
p.height as "Player's Height",
pa.attacking_work_rate as [Attacking Work Rate],
pa.preferred_foot as [Preferred Foot]
FROM
Player as p
INNER JOIN
Player_Attributes as pa /* since the data points come from two tables, an INNER JOIN was executed in this Query
to avoid creating NULL returns
*/
ON
p.player_api_id = pa.player_api_id
WHERE
p.height > 181
AND pa.preferred_foot = "right" /*while the syntax of AND in the WHERE Clause was not taught in the modules,
research was conducted through the SQL documentation,
and this WHERE Clause was constructed this way
*/
AND pa.attacking_work_rate = "high"
GROUP BY
p.player_api_id; /* observed that there were many rows of the same player-api_id with same data points in the rows,
so GROUP BY was used to narrow the returns of this SQL QUERY from 12,309 rows to 1,032 rows
*/
Exploring Datasets With SQLite
Unlocking New Insights Into the World of European
Soccer Through the European Soccer Database (ESD)
Author: Anthony Mok
Date: 18 Nov 2023
Email: xxiaohao@yahoo.com

Contenu connexe

Similaire à Unlocking New Insights Into the World of European Soccer Through the European Soccer Database (ESD)

Case Problem: Players.xlsx
Case Problem: Players.xlsxCase Problem: Players.xlsx
Case Problem: Players.xlsxViscKand
 
draftrec_www22.pdf
draftrec_www22.pdfdraftrec_www22.pdf
draftrec_www22.pdfssuserb0c0b4
 
C++ ProgrammingYou are to develop a program to read Baseball playe.pdf
C++ ProgrammingYou are to develop a program to read Baseball playe.pdfC++ ProgrammingYou are to develop a program to read Baseball playe.pdf
C++ ProgrammingYou are to develop a program to read Baseball playe.pdffazanmobiles
 
Teacher is very picky, document must have all these thingsSean h.docx
Teacher is very picky, document must have all these thingsSean h.docxTeacher is very picky, document must have all these thingsSean h.docx
Teacher is very picky, document must have all these thingsSean h.docxbriankimberly26463
 
Opta michiel jongsma
Opta michiel jongsmaOpta michiel jongsma
Opta michiel jongsmaBigDataExpo
 
CLanctot_DSlavin_JMiron_Stats415_Project
CLanctot_DSlavin_JMiron_Stats415_ProjectCLanctot_DSlavin_JMiron_Stats415_Project
CLanctot_DSlavin_JMiron_Stats415_ProjectDimitry Slavin
 
Delivering Winning Results with Sports Analytics and HPCC Systems
Delivering Winning Results with Sports Analytics and HPCC SystemsDelivering Winning Results with Sports Analytics and HPCC Systems
Delivering Winning Results with Sports Analytics and HPCC SystemsHPCC Systems
 
Extracting And Analyzing Cricket Statistics with R and Pyspark
Extracting And Analyzing Cricket Statistics with R and PysparkExtracting And Analyzing Cricket Statistics with R and Pyspark
Extracting And Analyzing Cricket Statistics with R and PysparkParag Ahire
 
Pycricbuzz - a python library to fetch live cricket scores
Pycricbuzz -  a python library to fetch live cricket scoresPycricbuzz -  a python library to fetch live cricket scores
Pycricbuzz - a python library to fetch live cricket scoresShivam Mitra
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptxSnehaDR2
 
The World Cup Graph 2018
The World Cup Graph 2018The World Cup Graph 2018
The World Cup Graph 2018Neo4j
 
[Webinar] RDBMS to Graph
[Webinar] RDBMS to Graph[Webinar] RDBMS to Graph
[Webinar] RDBMS to GraphNeo4j
 
Big Objects in Salesforce
Big Objects in SalesforceBig Objects in Salesforce
Big Objects in SalesforceAmit Chaudhary
 

Similaire à Unlocking New Insights Into the World of European Soccer Through the European Soccer Database (ESD) (20)

Case Problem: Players.xlsx
Case Problem: Players.xlsxCase Problem: Players.xlsx
Case Problem: Players.xlsx
 
IPL Teams for Auctions
IPL Teams for Auctions IPL Teams for Auctions
IPL Teams for Auctions
 
draftrec_www22.pdf
draftrec_www22.pdfdraftrec_www22.pdf
draftrec_www22.pdf
 
IPL WIN PREDICTION.pptx
IPL WIN PREDICTION.pptxIPL WIN PREDICTION.pptx
IPL WIN PREDICTION.pptx
 
IPL WIN .pptx
IPL WIN .pptxIPL WIN .pptx
IPL WIN .pptx
 
C++ ProgrammingYou are to develop a program to read Baseball playe.pdf
C++ ProgrammingYou are to develop a program to read Baseball playe.pdfC++ ProgrammingYou are to develop a program to read Baseball playe.pdf
C++ ProgrammingYou are to develop a program to read Baseball playe.pdf
 
Teacher is very picky, document must have all these thingsSean h.docx
Teacher is very picky, document must have all these thingsSean h.docxTeacher is very picky, document must have all these thingsSean h.docx
Teacher is very picky, document must have all these thingsSean h.docx
 
Cs229 final report
Cs229 final reportCs229 final report
Cs229 final report
 
Opta michiel jongsma
Opta michiel jongsmaOpta michiel jongsma
Opta michiel jongsma
 
honors_paper
honors_paperhonors_paper
honors_paper
 
CLanctot_DSlavin_JMiron_Stats415_Project
CLanctot_DSlavin_JMiron_Stats415_ProjectCLanctot_DSlavin_JMiron_Stats415_Project
CLanctot_DSlavin_JMiron_Stats415_Project
 
Delivering Winning Results with Sports Analytics and HPCC Systems
Delivering Winning Results with Sports Analytics and HPCC SystemsDelivering Winning Results with Sports Analytics and HPCC Systems
Delivering Winning Results with Sports Analytics and HPCC Systems
 
Extracting And Analyzing Cricket Statistics with R and Pyspark
Extracting And Analyzing Cricket Statistics with R and PysparkExtracting And Analyzing Cricket Statistics with R and Pyspark
Extracting And Analyzing Cricket Statistics with R and Pyspark
 
Pycricbuzz - a python library to fetch live cricket scores
Pycricbuzz -  a python library to fetch live cricket scoresPycricbuzz -  a python library to fetch live cricket scores
Pycricbuzz - a python library to fetch live cricket scores
 
Structures_Final_KLE (2).pptx
Structures_Final_KLE (2).pptxStructures_Final_KLE (2).pptx
Structures_Final_KLE (2).pptx
 
Project ppt.pptx
Project ppt.pptxProject ppt.pptx
Project ppt.pptx
 
The World Cup Graph 2018
The World Cup Graph 2018The World Cup Graph 2018
The World Cup Graph 2018
 
[Webinar] RDBMS to Graph
[Webinar] RDBMS to Graph[Webinar] RDBMS to Graph
[Webinar] RDBMS to Graph
 
Big Objects in Salesforce
Big Objects in SalesforceBig Objects in Salesforce
Big Objects in Salesforce
 
Learning with F#
Learning with F#Learning with F#
Learning with F#
 

Plus de ThinkInnovation

Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...
Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...
Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...ThinkInnovation
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...ThinkInnovation
 
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...ThinkInnovation
 
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...ThinkInnovation
 
Decision Making Under Uncertainty - Decide Whether Or Not to Take Precautions
Decision Making Under Uncertainty - Decide Whether Or Not to Take PrecautionsDecision Making Under Uncertainty - Decide Whether Or Not to Take Precautions
Decision Making Under Uncertainty - Decide Whether Or Not to Take PrecautionsThinkInnovation
 
Optimal Decision Making - Cost Reduction in Logistics
Optimal Decision Making - Cost Reduction in LogisticsOptimal Decision Making - Cost Reduction in Logistics
Optimal Decision Making - Cost Reduction in LogisticsThinkInnovation
 
Create Data Model & Conduct Visualisation in Power BI Desktop
Create Data Model & Conduct Visualisation in Power BI DesktopCreate Data Model & Conduct Visualisation in Power BI Desktop
Create Data Model & Conduct Visualisation in Power BI DesktopThinkInnovation
 
Using DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseUsing DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseThinkInnovation
 
Creating Data Warehouse Using Power Query & Power Pivot
Creating Data Warehouse Using Power Query & Power PivotCreating Data Warehouse Using Power Query & Power Pivot
Creating Data Warehouse Using Power Query & Power PivotThinkInnovation
 
Breakfast Talk - Manage Projects
Breakfast Talk - Manage ProjectsBreakfast Talk - Manage Projects
Breakfast Talk - Manage ProjectsThinkInnovation
 
Think innovation issue 4 share - scamper
Think innovation issue 4   share - scamperThink innovation issue 4   share - scamper
Think innovation issue 4 share - scamperThinkInnovation
 
Reverse Assumption Method
Reverse Assumption MethodReverse Assumption Method
Reverse Assumption MethodThinkInnovation
 
Psyche of Facilitation - The New Language of Facilitating Conversations
Psyche of Facilitation - The New Language of Facilitating ConversationsPsyche of Facilitation - The New Language of Facilitating Conversations
Psyche of Facilitation - The New Language of Facilitating ConversationsThinkInnovation
 
Visual Connection - Ideation Through Word Association
Visual Connection - Ideation Through Word AssociationVisual Connection - Ideation Through Word Association
Visual Connection - Ideation Through Word AssociationThinkInnovation
 

Plus de ThinkInnovation (16)

Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...
Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...
Ordinary Least Square Regression & Stage-2 Regression - Factors Influencing M...
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...
Decision Making Under Uncertainty - Predict the Chances of a Person Suffering...
 
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
 
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
 
Decision Making Under Uncertainty - Decide Whether Or Not to Take Precautions
Decision Making Under Uncertainty - Decide Whether Or Not to Take PrecautionsDecision Making Under Uncertainty - Decide Whether Or Not to Take Precautions
Decision Making Under Uncertainty - Decide Whether Or Not to Take Precautions
 
Optimal Decision Making - Cost Reduction in Logistics
Optimal Decision Making - Cost Reduction in LogisticsOptimal Decision Making - Cost Reduction in Logistics
Optimal Decision Making - Cost Reduction in Logistics
 
Create Data Model & Conduct Visualisation in Power BI Desktop
Create Data Model & Conduct Visualisation in Power BI DesktopCreate Data Model & Conduct Visualisation in Power BI Desktop
Create Data Model & Conduct Visualisation in Power BI Desktop
 
Using DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data WarehouseUsing DAX & Time-based Analysis in Data Warehouse
Using DAX & Time-based Analysis in Data Warehouse
 
Creating Data Warehouse Using Power Query & Power Pivot
Creating Data Warehouse Using Power Query & Power PivotCreating Data Warehouse Using Power Query & Power Pivot
Creating Data Warehouse Using Power Query & Power Pivot
 
Breakfast Talk - Manage Projects
Breakfast Talk - Manage ProjectsBreakfast Talk - Manage Projects
Breakfast Talk - Manage Projects
 
Think innovation issue 4 share - scamper
Think innovation issue 4   share - scamperThink innovation issue 4   share - scamper
Think innovation issue 4 share - scamper
 
SCAMPER
SCAMPERSCAMPER
SCAMPER
 
Reverse Assumption Method
Reverse Assumption MethodReverse Assumption Method
Reverse Assumption Method
 
Psyche of Facilitation - The New Language of Facilitating Conversations
Psyche of Facilitation - The New Language of Facilitating ConversationsPsyche of Facilitation - The New Language of Facilitating Conversations
Psyche of Facilitation - The New Language of Facilitating Conversations
 
Visual Connection - Ideation Through Word Association
Visual Connection - Ideation Through Word AssociationVisual Connection - Ideation Through Word Association
Visual Connection - Ideation Through Word Association
 

Dernier

BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxolyaivanovalion
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSAishani27
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxolyaivanovalion
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxolyaivanovalion
 

Dernier (20)

Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Ukraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICSUkraine War presentation: KNOW THE BASICS
Ukraine War presentation: KNOW THE BASICS
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 

Unlocking New Insights Into the World of European Soccer Through the European Soccer Database (ESD)

  • 1. Exploring Datasets With SQLite Unlocking New Insights Into the World of European Soccer Through the European Soccer Database (ESD) Author: Anthony Mok Date: 18 Nov 2023 Email: xxiaohao@yahoo.com
  • 2. European Soccer Database (ESD) European Soccer Database (ESD) is a comprehensive dataset that contains detailed information about: • European soccer leagues • Teams • Players • Matches • Covers 11 European countries • Data from the 2008-2016 seasons Database’s Characteristics Entities in the Database Consists of 7 tables: Country, League, Match, Player, Player Attributes, Team, ands Team Attributes
  • 3. Project’s Context, Objective & Strategies Context European Soccer Database (ESD) used to study team dynamics and identify the factors that lead to player’s and team’s success Objective Run queries to inspect its structure through SQLite Strategies* • Import the European Soccer Database file into DB Browser (SQLite) and find the total number of tables in the database • Using the ‘Country’ table, run a SQL query to show the list of countries in descending order (Z- A) based on the country name • Display the specified columns from the ‘Team_Attributes’ table with filtered rows based on ‘buildUpPlaySpeed’ • List all the players with the specified conditions in a table with the specified columns * This is just a sample of many queries deployed on this database
  • 4. Importing File to SQLite; 8 Tables Found European Soccer Database in SQLlite
  • 5. Listing of Countries Following SQL query script was used to show the list of countries, in descending order (Z-A), based on the country name in the “Country” table: SELECT name as [List of Countries] FROM Country ORDER BY name DESC;
  • 6. Conditionally Display Selected Columns Following SQL query script was used to display, in this order, the fields of ‘team_api_id’, ‘date’, ‘buildUpPlaySpeed’, ‘buildUpPlayDribblingClass’ and ‘buildUpPlaySpeedClass’. Only rows with ‘buildUpPlaySpeed’ greater than 74 but less than 79 were displayed: SELECT team_api_id as [Team API ID], strftime("%d-%m-%Y", date) as [Date], -- since date was asked for, the time was excluded from the query buildupplayspeed as [Build Up Play Speed], buildUpPlayDribblingClass as [Build Up Play Dribbing Class], buildUpPlaySpeedClass as [Build Up Play Speed Class] FROM Team_Attributes WHERE buildUpPlaySpeed BETWEEN 75 AND 78; /* since the range is >74, but < 79 which means the WHERE Clause excludes these two numbers */
  • 7. Conditionally Display Selected Players Following SQL query script (found in the next slide) was used to list all the players with the following conditions:  height: more than 181 cm  preferred_foot: right  attacking_work_rate: high Data is shown in a table with fields ordered in the following manner: ‘player_api_id’, ‘player_name’, ‘height’, ‘attacking_work_rate’ and ‘preferred_foot’
  • 8. Conditionally Display Selected Players SELECT p.player_api_id as "Player's API ID", -- aliases were used to improve readibility of this query p.player_name as "Player's Name", p.height as "Player's Height", pa.attacking_work_rate as [Attacking Work Rate], pa.preferred_foot as [Preferred Foot] FROM Player as p INNER JOIN Player_Attributes as pa /* since the data points come from two tables, an INNER JOIN was executed in this Query to avoid creating NULL returns */ ON p.player_api_id = pa.player_api_id WHERE p.height > 181 AND pa.preferred_foot = "right" /*while the syntax of AND in the WHERE Clause was not taught in the modules, research was conducted through the SQL documentation, and this WHERE Clause was constructed this way */ AND pa.attacking_work_rate = "high" GROUP BY p.player_api_id; /* observed that there were many rows of the same player-api_id with same data points in the rows, so GROUP BY was used to narrow the returns of this SQL QUERY from 12,309 rows to 1,032 rows */
  • 9. Exploring Datasets With SQLite Unlocking New Insights Into the World of European Soccer Through the European Soccer Database (ESD) Author: Anthony Mok Date: 18 Nov 2023 Email: xxiaohao@yahoo.com