Network Analysis
Daniel Tafmizi
Dr. Friedman
November 17, 2024
Lis 4317
Module 12
Github: daniel.R/Work.R/LIS4370Rprog/networkAnalysis.R at main · DanielDataGit/daniel.R
I enjoyed working on this network analysis. I was hoping to incorporate a similar element into my text mining final project, so this lesson acts a precursor to that. I used some reddit data that I retrieved from their API. I started by preprocessing the data, then I tokenized it, finally I found co-occurrences. The ggnet2 streamlines well with igraph. This allowed me to create a network analysis of co-occurrences from the reddit text. Further research will be done to add more elements to the graph. I would like to color in the nodes based on their connection to the keywords, "Kamala":Blue and "Trump":Red. Words related to both will be colored purple.

Comments
Post a Comment