In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Downloading data using API

AryanMahak
5 - Atom

Hi Everyone,

I am very new to Alteryx and doing my first workflow using API. I need to download data from openflights.org.

Data is not coming in proper format and all records are not getting downloaded.

Here is the url used in Workflow.

 

https://raw.githubusercontent.com/jpatokal/openflights/master/data/airports.dat

 

Attached is my workflow.

Requesting the expert to help me to get the data.

 

Thanks!

Regards

Rajesh

 

2 REPLIES 2

Hi @AryanMahak 

 

Could you please in Text to column change the delimiter to \n (lower case n)?

 

christine_assaad_0-1611251294886.png

 

echuong1
Alteryx Alumni (Retired)

Your approach was correct! Use a "\n" as the delimiter in the first text to columns to split to rows. This represents a new line. From there, you can use a text to columns to separate out the individual columns. I chose to ignore delimiters in quotation marks, since a comma is pretty common. I then used a multi-field formula to remove the " from all fields. You can rename the columns in the Select at the end.

 

Hope this helps!

 

 

echuong1_1-1611251416272.png

 

Labels
Top Solution Authors