Dashboard Week Day Four - API AI Alteryx App

Lionel Messi Report

Football Career Report

Lionel Messi

1 January 2015 – 1 January 2025

Overview

During this period, Lionel Messi won a second continental treble with Barcelona, departed his boyhood club for Paris Saint-Germain, and then moved to Inter Miami. He cemented his legacy by leading the Argentina national team to victories in the 2021 Copa América, the 2022 Finalissima, the 2022 FIFA World Cup, and the 2024 Copa América. Individually, he won four Ballon d'Or awards (2015, 2019, 2021, 2023), bringing his record total to eight.

Playing Style & Scouting Profile

In this period, Messi initially played on the right side of a prolific attacking trio at Barcelona, before being deployed in a deeper, free playmaking role in later seasons. As his career advanced, he began to dictate play more from deeper areas, conserving energy for decisive moments while evolving into one of history's best passers and playmakers. He remained a versatile attacker, capable of playing through the centre or on the wing, known for his dribbling, vision, and prolific goalscoring.

Player Information

  • Position Forward
  • Nationality Argentine
  • Current Club Inter Miami

Other Notable Events

In this decade, Messi was awarded the Ballon d'Or four times (2015, 2019, 2021, 2023) and The Best FIFA Men's Player award four times (2015, 2019, 2022, 2023). He won three European Golden Shoe awards (2016–17, 2017–18, 2018–19). He was also named Laureus World Sportsman of the Year in 2020 and 2023, and Time's Athlete of the Year in 2023. In 2020, he became the second footballer to surpass $1 billion in career earnings.

Club Career

APPEARANCES

Messi began the period at Barcelona, leading the team to a historic second treble in the 2014–15 season as part of the 'MSN' attacking trio. He won a club-record 34 trophies, becoming captain in 2018 and winning numerous individual awards, including multiple Pichichi trophies and European Golden Shoes. Due to financial issues at Barcelona, he departed in 2021 and signed with Paris Saint-Germain, winning two consecutive Ligue 1 titles. In July 2023, he joined MLS club Inter Miami, leading them to their first trophy, the 2023 Leagues Cup, followed by the 2024 Supporters' Shield, while also winning the MLS MVP award in 2024.

National Team

CAPS

This period marked a transformation in Messi's international career. After losing consecutive finals in the 2015 Copa América and 2016 Copa América Centenario, which led to a brief retirement, he returned to the national team. He led Argentina to a 28-year trophy drought-ending victory at the 2021 Copa América, where he was named the tournament's best player. This was followed by a win in the 2022 Finalissima and the crowning achievement of winning the 2022 FIFA World Cup, where he was awarded the Golden Ball for the second time. He also won the 2024 Copa América.

Club Statistics

Appearances
Goals
Assists

National Team Statistics

Appearances
Goals
Assists

Combined Statistics

Total Apps
Total Goals
Total Assists

Activity Signal

Number of source activity events recorded in each month of the selected period.

JanFebMarAprMayJunJulAugSepOctNovDec

Football Career Report · 1 January 2015 – 1 January 2025

Harry Kane Report

Football Career Report

Harry Kane

5 June 2019 – 1 January 2025

Overview

During this period, Harry Kane cemented his legacy as a world-class striker, breaking goalscoring records for club and country while making a historic transfer over €100 million from Tottenham Hotspur to Bayern Munich in 2023. He won the 2020-21 Premier League Golden Boot and Playmaker award, became Tottenham's and England's all-time top scorer, and claimed the European Golden Shoe in his debut Bundesliga season. Internationally, Kane captained England to the finals of UEFA Euro 2020 and UEFA Euro 2024.

Playing Style & Scouting Profile

Within this timeframe, Harry Kane evolved from a pure goalscorer into one of the world's most complete strikers. While retaining his clinical finishing, he increasingly dropped into deeper positions to link play and create chances, using his exceptional vision and passing range, as evidenced by winning both the Premier League Golden Boot and Playmaker award in 2020-21. This dual threat as a scorer and creator, often operating as a false 9, made him a highly effective attacking fulcrum.

Player Information

  • Position Striker
  • Nationality English
  • Current Club Bayern Munich

Other Notable Events

Kane collected significant individual accolades, winning the 2020-21 Premier League Golden Boot, the 2020-21 Playmaker of the Season award, and the 2023-24 European Golden Shoe. He achieved historic milestones by becoming the all-time record goalscorer for both Tottenham Hotspur (February 2023) and the England national team (March 2023). He was also named in the PFA Premier League Team of the Year for the 2020-21 and 2022-23 seasons.

Club Career

APPEARANCES

Kane began the period at Tottenham Hotspur, where he became the club's all-time leading goalscorer and won both the Premier League Golden Boot and Playmaker of the Season award in 2020-21. In August 2023, he made a record-breaking transfer to Bayern Munich for a fee exceeding €100 million. In a prolific debut 2023-24 season, he scored 36 league goals to win the European Golden Shoe and was the joint-top scorer in the Champions League, breaking numerous Bundesliga records in the process.

National Team

CAPS

Kane captained England to two major tournament finals, losing to Italy at UEFA Euro 2020 and Spain at UEFA Euro 2024, finishing as a joint-winner of the Golden Boot at the latter. On March 23, 2023, he surpassed Wayne Rooney to become England's all-time record goalscorer. He also led the team to the quarter-finals of the 2022 FIFA World Cup and earned his 100th international cap in September 2024.

Club Statistics

Appearances
Goals
Assists

National Team Statistics

Appearances
Goals
Assists

Combined Statistics

Total Apps
Total Goals
Total Assists

Activity Signal

Number of source activity events recorded in each month of the selected period.

JanFebMarAprMayJunJulAugSepOctNovDec

Football Career Report · 5 June 2019 – 1 January 2025

Brief: Build an Alteryx App that generates an HTML trend analysis report based on user input. This requires creating an LLM prompt using the AI Prompt tool to generate the report.

API Used for Data: Wikipedia API (https://www.mediawiki.org/wiki/Wikimedia_APIs)

Tool: Alteryx

How I Approached Creating the App: I wanted to generate an HTML report about a football player over a user-specified timeframe. Target users could be football scouts looking for quick player summaries. I also wanted the output structure to remain consistent to enable valid comparisons across different players.

Alteryx Process:

  • Used Interface tools to pass user-inputted information into a Text Input tool.
  • Formulated the input into a final URL to call the API.
  • Used the Download, JSON Parse and Summarize tools to gather and structure the player information.
  • Created a JSON schema using a Text Input tool (this could also have been done using a JSON Schema tool) and appended it to the single-row dataset.
  • Referenced the player data in the AI Prompt tool using Gemini as the LLM provider. Key step: passed the JSON schema into the JSON Schema column for structured output.
  • Applied RegEx to clean the output text.
  • Used JSON Parse and Cross Tab tools to consolidate all data into standard columns within a single row.
  • Added a Text Input tool containing the base HTML webpage template and appended it to the data stream.
  • Used a Formula tool with multiple REPLACE functions to substitute placeholder fields in the HTML template (Field1) with player-specific data. This step ensures consistent output formatting every time.
  • Passed the final HTML into a Blob Convert tool, added a file-suffix formula to prevent overwriting previous files, and exported the report using a Blob Output tool.

My Alteryx Workflow:

Challenges:

  • I struggled to extract numerical data from Wikipedia tables, which led to a lot of back-and-forth with different AI tools that often contradicted each other.
  • Having no prior HTML experience, I had to rely heavily on Gemini and other LLMs to generate all the HTML code.

Colour Theme and Formatting: Building an HTML template worked really well for maintaining output consistency. In the future, I would like to offer multiple HTML templates so users can choose their preferred report layout.

Author:
Jude Royall
Powered by The Information Lab
1st Floor, 25 Watling Street, London, EC4M 9BR
Subscribe
to our Newsletter
Get the lastest news about The Data School and application tips
Subscribe now
© 2026 The Information Lab