if (FALSE) {
# twitter 2-mode network creation additionally requires the tidytext package
# for working with text data
install.packages("tidytext")
# create a twitter 2-mode network graph removing the hashtag '#auspol' as it was used in
# the twitter search query
twomodeNetwork <- twitterData %>%
Create("twomode", removeTermsOrHashtags = c("#auspol"), verbose = TRUE)
# network
# twomodeNetwork$nodes
# twomodeNetwork$edges
}
Run the code above in your browser using DataLab