Communities#

>>> from techminer2.science_mapping.citation.network.countries import communities
>>> communities(
...     #
...     # COLUMN PARAMS:
...     top_n=30,
...     citations_threshold=0,
...     occurrence_threshold=2,
...     custom_items=None,
...     #
...     # NETWORK PARAMS:
...     algorithm_or_dict="louvain",
...     #
...     # DATABASE PARAMS:
...     root_dir="example/",
...     database="main",
...     year_filter=(None, None),
...     cited_by_filter=(None, None),
... )
                  CL_0                    CL_1                   CL_2
0    Australia 05:0783         Germany 07:1814    Netherlands 03:0300
1        China 08:1085     Switzerland 04:0660  United States 16:3189
2      Denmark 02:0330  United Kingdom 03:0636
3  South Korea 06:1192          Latvia 02:0163