Communities

>>> from techminer2.science_mapping.citation.network.authors import communities
>>> communities(
...     #
...     # COLUMN PARAMS:
...     top_n=30,
...     citations_threshold=0,
...     occurrence_threshold=1,
...     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),
... ).head()
                   CL_0  ...                CL_3
0      Gomber P. 2:1065  ...  Jagtiani J. 3:0317
1     Koch J.-A. 1:0489  ...   Lemieux C. 2:0253
2     Siering M. 1:0489  ...
3  Kauffman R.J. 1:0576  ...
4      Parker C. 1:0576  ...

[5 rows x 4 columns]