Dashboard Week Day 3

Today is the most technical day in the dashboard week! We need to create a report using Alteryx. To get the data, we need to connect the tool with Aviation API and use the spatial tools in Alteryx to perform some spatial analysis.

I started with the plan:

Plan
Expected Time Plan
Actual Time
9:00-9:30Data exploratory9:00-9:30Data exploratory
9:30-10:00Get the API9:30-10:00Get the API
10:00-10:30Get the API10:00-10:30Get the API
10:30-11:00Get the API10:30-11:00Get the API
11:00-11:30Spatial11:00-11:30Get the APIerror 500
11:30-12:00Spatial11:30-12:00Get the API
12:00-12:30Reoprt12:00-12:30Data exploratory & PlanDistance of the direct flight routine in the US from JFK airport
12:30-1:00Lunch12:30-1:00Lunch
1:00-1:30Reoprt1:00-1:30Spatial
1:30-2:00Reoprt1:30-2:00Spatial
2:00-2:30Report2:00-2:30Report
2:30-3:00Format + Blog2:30-3:00Format + Blog
3:00-03:30Practise Presentation3:00-03:30Practise Presentation

I ended up spent a lot of time just to get the data as i did not use API so often during the training. The website was not stable, it took me a couple of minutes to run my workflows. Also sometimes it gave me error 500 (means their server was not available) and i need to re-run the workflow again, which was very annoying.

I scoped down the topic to make sure i have enough time to create a report. I planned to create a Distance of direct flight routine in the US from JFK airport Report.

This is the Alteryx workflow at the end:

I tried to separate the workflows and out the data one by one. With this I do not need to get the API from the website each time when i ran the workflows so that I can avoid the error message.

1st container: get the name of all the destination airports from origin airport (JFK) 2nd container: get the latitude and longitude of the destination airports
3rd container: get the latitude and longitude of the origin airport
4th container: append the latitude and longitude of the destination airports and origin airport, create spatial object and report

This is the report I created at the end:

It will be great to have the airport name and city in the report.  Also better to use a bar chart to show the distance instead of a table. Given that the time I wanted to prioritise the most important parts first. However, it will be good to have these features.

Author:
Abby Poon
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
© 2025 The Information Lab