Clusters to Terms MappingΒΆ

>>> from techminer2.packages.networks.co_authorship.authors import ClustersToTermsMapping
>>> mapping = (
...     ClustersToTermsMapping()
...     #
...     # 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)
...     #
...     # COUNTERS:
...     .using_term_counters(True)
...     #
...     # NETWORK:
...     .using_clustering_algorithm_or_dict("louvain")
...     .using_association_index("association")
...     #
...     # 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()
... )
>>> from pprint import pprint
>>> pprint(mapping)
{0: ['Gomber P. 2:1065',
     'Kauffman R.J. 1:0576',
     'Parker C. 1:0576',
     'Weber B.W. 1:0576',
     'Koch J.-A. 1:0489',
     'Siering M. 1:0489'],
 1: ['Gai K. 2:0323', 'Qiu M. 2:0323', 'Sun X. 2:0323'],
 2: ['Dolata M. 2:0181', 'Schwabe G. 2:0181', 'Zavolokina L. 2:0181'],
 3: ['Buchak G. 1:0390', 'Matvos G. 1:0390', 'Piskorski T. 1:0390'],
 4: ['Jagtiani J. 3:0317', 'Lemieux C. 2:0253'],
 5: ['Lee I. 1:0557', 'Shin Y.J. 1:0557'],
 6: ['Hornuf L. 2:0358']}