<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Kommentare zu: Social Network Analysis of Survey Participants</title>
	<atom:link href="http://thingthatthinks.com/2008/11/social-network-analysis-of-survey-participants/feed/" rel="self" type="application/rss+xml" />
	<link>http://thingthatthinks.com/2008/11/social-network-analysis-of-survey-participants/</link>
	<description>Martin Böhringer's Blog</description>
	<pubDate>Thu, 29 Jul 2010 15:54:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>Von: martin</title>
		<link>http://thingthatthinks.com/2008/11/social-network-analysis-of-survey-participants/#comment-2613</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Mon, 21 Sep 2009 08:46:47 +0000</pubDate>
		<guid isPermaLink="false">http://thingthatthinks.com/?p=117#comment-2613</guid>
		<description>Hi Josh, thanks for your interest. In short, the steps to get Twitter connections into nwb were:
a) I had a list of my survey participants (Twitter names)
b) my PHP script calls the Twitter API for each of the participants and gets their followed users and followers (note that Twitter knows these two kinds of relationships but nwb only knows one; so you have to decide how you want to transfer Twitter relationsships to a nwb relationship, for example you could say "a nwb relationship only exists if users follow each other in both directions" -&gt; this is something you can achieve with a little bit of PHP
c) for each participant (lets say "Tom") we now have a list (array) of friends and our PHP script writes for each friend in a text file (for example network.csv):
Tom, Friend1, true
Tom, Friend 2, true
and so on. This can be read as "Tom and Friend1 are friends". In pseudo code: 

for each participant as p {
  get friends into array
  for each item in friend array as i {
     write p.", ".i["name"].", true" in CSV file
}}

d) Finally, network.csv could be imported into nwb (I cannot provide you with a step-by-step guide for that since I do not have the software on my pc any longer, sorry, but it was quite easy)

Hope that helps.</description>
		<content:encoded><![CDATA[<p>Hi Josh, thanks for your interest. In short, the steps to get Twitter connections into nwb were:<br />
a) I had a list of my survey participants (Twitter names)<br />
b) my PHP script calls the Twitter API for each of the participants and gets their followed users and followers (note that Twitter knows these two kinds of relationships but nwb only knows one; so you have to decide how you want to transfer Twitter relationsships to a nwb relationship, for example you could say &#8220;a nwb relationship only exists if users follow each other in both directions&#8221; -> this is something you can achieve with a little bit of PHP<br />
c) for each participant (lets say &#8220;Tom&#8221;) we now have a list (array) of friends and our PHP script writes for each friend in a text file (for example network.csv):<br />
Tom, Friend1, true<br />
Tom, Friend 2, true<br />
and so on. This can be read as &#8220;Tom and Friend1 are friends&#8221;. In pseudo code: </p>
<p>for each participant as p {<br />
  get friends into array<br />
  for each item in friend array as i {<br />
     write p.&#8221;, &#8220;.i["name"].&#8221;, true&#8221; in CSV file<br />
}}</p>
<p>d) Finally, network.csv could be imported into nwb (I cannot provide you with a step-by-step guide for that since I do not have the software on my pc any longer, sorry, but it was quite easy)</p>
<p>Hope that helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: josh</title>
		<link>http://thingthatthinks.com/2008/11/social-network-analysis-of-survey-participants/#comment-2578</link>
		<dc:creator>josh</dc:creator>
		<pubDate>Sun, 13 Sep 2009 23:35:24 +0000</pubDate>
		<guid isPermaLink="false">http://thingthatthinks.com/?p=117#comment-2578</guid>
		<description>This is great. I would be extremely grateful if you could go through the following, step by step
'The connection data was retrieved via the Twitter API and imported into nwb as CSV file'</description>
		<content:encoded><![CDATA[<p>This is great. I would be extremely grateful if you could go through the following, step by step<br />
&#8216;The connection data was retrieved via the Twitter API and imported into nwb as CSV file&#8217;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
