Terms by Cluster FrameΒΆ
>>> #
>>> # TEST PREPARATION
>>> #
>>> from techminer2.thesaurus.descriptors import ApplyThesaurus, CreateThesaurus
>>> CreateThesaurus(root_directory="example/", quiet=True).run()
>>> ApplyThesaurus(root_directory="example/", quiet=True).run()
>>> #
>>> # CODE TESTED
>>> #
>>> from techminer2.packages.networks.co_occurrence.author_keywords import TermsByClusterDataFrame
>>> (
... TermsByClusterDataFrame()
... #
... # FIELD:
... .having_terms_in_top(20)
... .having_terms_ordered_by("OCC")
... .having_term_occurrences_between(None, None)
... .having_term_citations_between(None, None)
... .having_terms_in(None)
... #
... # NETWORK:
... .using_clustering_algorithm_or_dict("louvain")
... .using_association_index("association")
... #
... # COUNTERS:
... .using_term_counters(True)
... #
... # DATABASE:
... .where_root_directory_is("example/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... .where_records_match(None)
... #
... .run()
... )
0 ... 3
0 FINTECH 31:5168 ... ARTIFICIAL_INTELLIGENCE 02:0327
1 BUSINESS_MODEL 03:0896 ... FINANCE 02:0309
2 FINANCIAL_INCLUSION 03:0590 ... ROBOTS 02:0289
3 FINANCIAL_TECHNOLOGIES 03:0461 ...
4 BLOCKCHAIN 03:0369 ...
5 CROWDFUNDING 03:0335 ...
6 CYBER_SECURITY 02:0342 ...
7 CASE_STUDIES 02:0340 ...
8 REGTECH 02:0266 ...
[9 rows x 4 columns]
>>> #
>>> # CODE TESTED
>>> #
>>> from techminer2.packages.networks.co_occurrence.author_keywords import TermsByClusterDataFrame
>>> (
... TermsByClusterDataFrame()
... #
... # FIELD:
... .having_terms_in_top(20)
... .having_terms_ordered_by("OCC")
... .having_term_occurrences_between(None, None)
... .having_term_citations_between(None, None)
... .having_terms_in(None)
... #
... # NETWORK:
... .using_clustering_algorithm_or_dict("louvain")
... .using_association_index("association")
... #
... # COUNTERS:
... .using_term_counters(False)
... #
... # DATABASE:
... .where_root_directory_is("example/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... .where_records_match(None)
... #
... .run()
... )
0 ... 3
0 FINTECH ... ARTIFICIAL_INTELLIGENCE
1 BUSINESS_MODEL ... FINANCE
2 FINANCIAL_INCLUSION ... ROBOTS
3 FINANCIAL_TECHNOLOGIES ...
4 BLOCKCHAIN ...
5 CROWDFUNDING ...
6 CYBER_SECURITY ...
7 CASE_STUDIES ...
8 REGTECH ...
[9 rows x 4 columns]