Editing Communication and Social Networks (Spring 2020)/Dutch School Data Visualization challenge
From CommunityData
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 11: | Line 11: | ||
# '''[https://github.com/jdfoote/Communication-and-Social-Networks/raw/master/activities/network_visualization_examples_and_assignment.Rmd This link]''' is an R Markdown file that gives general examples of how to create network visualizations, and gives information about the data. Right-click the file, save it to your computer, and open it in RStudio. At the top of RStudio click "knit", and it should open up something that looks kind of like a web page, which was created from this file ([https://youtu.be/tKUufzpoHDE video explaining R Markdown]). | # '''[https://github.com/jdfoote/Communication-and-Social-Networks/raw/master/activities/network_visualization_examples_and_assignment.Rmd This link]''' is an R Markdown file that gives general examples of how to create network visualizations, and gives information about the data. Right-click the file, save it to your computer, and open it in RStudio. At the top of RStudio click "knit", and it should open up something that looks kind of like a web page, which was created from this file ([https://youtu.be/tKUufzpoHDE video explaining R Markdown]). | ||
# [https://github.com/jdfoote/Communication-and-Social-Networks/raw/master/activities/school_data_example.Rmd This R file] shows an A+ example of this assignment. It shows how to load the code, gives you visualization ideas, and some code that you might want to alter for your assignment | |||
# [https://github.com/jdfoote/Communication-and-Social-Networks/raw/master/activities/school_data_example.Rmd This R file] shows an A+ example of this assignment. It shows how to load the code, gives you visualization ideas, and some code that you might want to alter for your assignment. | |||
There are lots of different questions that you can ask about this data, and lots of different ways to visualize relationships between them. Your goal is to identify a question that you think would be interesting and to use R to visualize the network in a way that sheds light on that question. In my example, I decided to look at whether friendships which were mutual were more likely to have the same drinking behavior. I ended up coloring the nodes based on drinking behavior and coloring the edges based on whether they had the same drinking behavior. | There are lots of different questions that you can ask about this data, and lots of different ways to visualize relationships between them. Your goal is to identify a question that you think would be interesting and to use R to visualize the network in a way that sheds light on that question. In my example, I decided to look at whether friendships which were mutual were more likely to have the same drinking behavior. I ended up coloring the nodes based on drinking behavior and coloring the edges based on whether they had the same drinking behavior. | ||
Line 31: | Line 32: | ||
Descriptions of what each measure means are at [http://www.stats.ox.ac.uk/~snijders/siena/tutorial2010_data.htm this site], maintained by the people who collected the data. | Descriptions of what each measure means are at [http://www.stats.ox.ac.uk/~snijders/siena/tutorial2010_data.htm this site], maintained by the people who collected the data. | ||