{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Introduction" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "In the previous sessions, you learned how to construct scientometric networks in Python. It was clear that this can be quite challenging. VOSviewer takes care of a lot of the necessary work in creating scientometric networks. You can hence use VOSviewer to create networks, which you could then export and analyse further in Python. We will here take this approach." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## VOSviewer" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You have previously constructed scientometric networks using VOSviewer. You can import the resulting network for further analysis in `igraph`. In order to import the file in `igraph` you need to have saved both the `map` file and the `network` file in VOSviewer. See the manual of VOSviewer for more explanation. As in the previous Python notebook, we have prepared some files for you, in this case the author collaboration network from the Web of Science files that we analysed previously." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "We first import the necessary packages. You will presumably recognize these still from the previous Python notebook." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import igraph as ig" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Now let us read the map and network file from VOSviewer." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
data-files/vosviewer/vosviewer_map.txt
using tabs ('\\t'
) as a field separator, and call the resulting variable map_df
.\n",
"30
?\n",
"resolution_parameter
. How many subclusters do you find? How does that compare to modularity?\n",
"resolution_parameter
.\n",
"optimise_partition
returns how much further it managed to improve the function, so that if it returns 0.0
, it means it couldn't find any further improvement. Execute the cell repeatedly. Does it return 0.0 after some time?\n",
"resolution_parameter
when detecting clusters using the CPM method. What resolution_parameter
seems reasonable to you, and why?\n",
"resolution_parameter
such that the network separates in two large clusters (and some remaining small clusters). What is the cause of these two large clusters? (Hint: examine the author names)\n",
"terms.csv
file and the doc-terms.csv
file.\n",
" \n",
"terms.txt
) and make sure you choose an appropriate directory and then press \"Export\".doc-terms.txt
) and make sure you choose an appropriate directory and then press \"Export\".terms.csv
file and the doc-terms.csv
files. Detect the clusters in this bipartite network, as explained above.\n",
"