Communities#

>>> from techminer2.science_mapping.co_authorship.network.countries import communities
>>> communities(
...     #
...     # COLUMN PARAMS:
...     top_n=20,
...     occ_range=(None, None),
...     gc_range=(None, None),
...     custom_items=None,
...     #
...     # NETWORK PARAMS:
...     algorithm_or_dict="louvain",
...     association_index="association",
...     #
...     # DATABASE PARAMS:
...     root_dir="example/",
...     database="main",
...     year_filter=(None, None),
...     cited_by_filter=(None, None),
... )
                    CL_0  ...                       CL_8
0  United States 16:3189  ...  Brunei Darussalam 01:0090
1          China 08:1085  ...
2    South Korea 06:1192  ...
3         Sweden 01:0160  ...
4     Kazakhstan 01:0121  ...
5        Belgium 01:0101  ...

[6 rows x 9 columns]