Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

Network Analysis Tool

Tim_Napier
6 - Meteoroid

Hi all

 

I've downloaded my contact data from LinkedIn, I was hoping to put it into the Network Analysis tool and show off my contacts etc. I keep getting

Error: Network Analysis (16): Tool #4: Error in graph.data.frame(d = x, directed = directed, vertices = vertices) :

 

When I try to do this.

 

 

Can anyone shed some light on what I should be doing? The workflow is attached. I am thinking it is something stupid like column names wrong, or a missing column or ....

 

 

Thanks for any input

 

22 REPLIES 22
AdamR_AYX
Alteryx Alumni (Retired)

I think your problem is that dataset doesn't contain everything you need.  For the Network Analysis tool you need a list of who is connected to who.

 

e.g.

FromToWeight
Adam RileyMickey Mouse1
Adam RileyDonald Duck1
Adam RileyMinnie Mouse1
Mickey MouseMinnie Mouse1

 

That dataset from LinkedIn is just everyone who is connected to you and not how they are connected to each other.

Adam Riley
https://www.linkedin.com/in/adriley/
chris_love
12 - Quasar

Nice challenge on a new tool :-)

 

Looks like you need to remove blanks, remove duplicates on the name and ensure name is called _name_

 

I've attached my module, you'll need to switch it back to you LinkedIn file as I've been using mine for testing.

 

Bear in mind you'll only have which companies each person is attached to, not their connections between each other.

 

2015-09-09_11-15-41.jpg

Tim_Napier
6 - Meteoroid

Thanks Chris, works a treat

Tim_Napier
6 - Meteoroid

Me as the centre.PNGFor those who are interested, I added myself as a from with an append tool to all of the other contacts (me as the centre of the universe:-) and get. I've taken Chris's enhancements and added that here for anyone who wants it.

 

Aguisande
15 - Aurora
15 - Aurora

Great job guys!

 

Is awesome how "flowery" you got!

Tim_Napier
6 - Meteoroid

This version shows relationships via company, hope you like!My linked in network via the company.PNG

Trao
5 - Atom

Is there a way we can show a dynamic network visualisation tool in Powerpoint.  Right now, we can only show a static image on a browser. 

Aguisande
15 - Aurora
15 - Aurora

Hi Trao,

The only idea that I can find is to render to an HTML, then insert the HTML in Powerpoint.

 

HK
6 - Meteoroid

Hi All,

 

I am trying to plug in my own dummy data into the current Alteryx “Network Analysis” sample workflow tool, but I’m running into the same error. I tried the same suggestions thats worked above,  but it seems to still fail.

 

Any ideas?

 

_name_ FirstName
555-111-1111Alex
555-222-2222Bob
555-333-3333Christ
555-444-4444Dan

 

fromtoweight
555-111-1111555-222-22222
555-111-1111555-333-33331
555-111-1111555-444-44441
555-222-2222555-222-22221
555-222-2222555-333-33333
555-222-2222555-444-44444
555-333-3333555-333-33332
555-333-3333555-444-44441
555-333-3333555-666-66661
555-333-3333555-222-22221
555-444-4444555-333-33331
555-444-4444555-222-22224
555-444-4444555-555-55551
555-444-4444555-666-66663
Labels