Terms by Cluster FrameΒΆ

Example

>>> from techminer2.packages.networks.coupling.sources import TermsByClusterDataFrame
>>> df = (
...     TermsByClusterDataFrame()
...     #
...     # UNIT OF ANALYSIS:
...     .having_terms_in_top(20)
...     .having_citation_threshold(0)
...     .having_occurrence_threshold(2)
...     .having_terms_ordered_by("OCC")
...     .having_terms_in(None)
...     #
...     # CLUSTERING:
...     .using_clustering_algorithm_or_dict("louvain")
...     #
...     # DATABASE:
...     .where_root_directory_is("examples/fintech/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     .where_records_match(None)
...     #
...     .run()
... ).head()
>>> # Display the resulting data frame
>>> print(df)  
                           0                        1
0  Ind Manage Data Sys 2:386      J. Econ. Bus. 3:422
1      Electron. Mark. 2:287  J Manage Inf Syst 2:696
2       Sustainability 2:150    Financ. Manage. 2:161
3     J. Innov. Manag. 1:226
4             Symmetry 1:176