Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Carto to Alteryx Connection

ejogion
7 - Meteor

Hi Everyone,

 

I am trying to connect a dataset published to Carto to Alteryx but haven't any idea where to start. 

 

The dataset I am trying to get into Alteryx, where I can then transform it is the following:

https://cityofphiladelphia.github.io/carto-api-explorer/#opa_properties_public

 

Has anyone ever done this before?

5 REPLIES 5
CharlieS
17 - Castor
17 - Castor

The API instructions there guide you how to build a query to their database. A valid query looks something like this:

 

SELECT *, ST_AsText(the_geom) AS the_geom_text FROM opa_properties_public WHERE cartodb_id=7

 

This string can be used by a Download tool in Alteryx to retrieve the results. The rest of the process is just parsing the returned data. Check out the attached workflow for an example of this in action. 

Thableaus
17 - Castor
17 - Castor

Hi @ejogion 

 

Have you ever used Download Tool?

 

That's the tool you're going to use to make API requests, which it seems to be the case.


Cheers,

ejogion
7 - Meteor

Thanks so much for the detailed solution. Would never have gotten there on my own. 

Alessio_Loffredo
5 - Atom

Hi, 

I am trying to use the example you attached but the input "Poligon Coordinates.csv" don't seem enclosed. 

Could you please send it again? I have the same problem but i have doubts on the input format. 

Thank you and regards, 

Alessio

CharlieS
17 - Castor
17 - Castor

Hi @Alessio_Loffredo 

 

I'm not sure you're looking at the same workflow. The attached workflow "20190329-CartoQuery.yxmd" has no file dependencies, just a Text Input which you should be able to open and run on it's own. 

Labels