Network Text Analysis
About
Chapter 5: Network Text Analysis covers the case study on Network Text Analysis of Documents using Two Different R Packages. It is divided into two parts: 5A, and 5B. Both 5A and 5B case studies use R programming language to perform text network analysis but with different packages.
How to Cite
Please cite this compendium as: Lamba, Manika, & Madhusudhan, Margam. (2021). Network Text Analysis of Documents using Two Different R Packages (Version 1.2). https://doi.org/10.5281/zenodo.5203302
Contents
The compendium contains the data, code, and notebook associated with the case studies. It is organized as follows:
- The 5a_dataset.txtfile contains the data for 5A case study.- The 5a_results_coword_network_analysis.csvfile contains the supplementary data associated with 5A case study.
- The 5a_results_main_information.pdffile contains the supplementary data associated with 5A case study.
 
- The 
- The 5b_dataset.csvfile contains the data for 5B case study.- The 5b_results_centrality.csvfile contains the supplementary data associated with 5B case study.
- The 5b_results_communities.csvfile contains the supplementary data associated with 5B case study.
 
- The 
- The text_network_analysis.Rfile contatins the R code for 5B case study.
- The Case_Study_5B.ipynbfile contatins the Jupyter notebook for 5B case study.
In addition to the provided sample data, you can use dataset from Appendix A, Appendix B, Appendix C, Curated Datasets, or your own dataset to perform network text analysis.
How to Download or Install
There are several ways to use the compendium’s contents and reproduce the analysis:
- 
Download the compendium as a zip archive from the GitHub repository. - After unpacking the downloaded zip archive, you can explore the files on your computer.
 
- 
Reproduce the analysis in the cloud without having to install any software. The same Docker container replicating the computational environment used by the authors can be run using BinderHub on mybinder.org: - 
Click RStudio: to launch an interactive RStudio session in your web browser for hands-on practice for 5B case study. In the virtual environment, open the text_network_analysis.Rfile to run the code.
- 
Click Jupyter+R: to launch an interactive Jupyter Notebook session in your web browser using R kernel. When you execute code within the notebook, the results appear beneath the code. 
 ^ Limitations of Binder - The server has limited memory so you cannot load large datasets or run big computations.
- Binder is meant for interactive and ephemeral interactive coding so an instance will die after 10 minutes of inactivity.
- An instance cannot be kept alive for more than 12 hours.
 
- 
Visualize the Results
A storyboard is built to summarize the visualizations for 13 case studies performed in the book. To know more about the case studies, and the methodology used to get the results, read the book.
Licenses
Text and Figures: ©2021 Lamba and Madhusudhan - all rights reserved, unless stated otherwise.
Code, Data, Hex-sticker: MIT License
- Posted on:
- July 20, 2021
- Length:
- 3 minute read, 464 words
- Categories:
- R
- Tags:
- network text analysis
- See Also: