Network Degree FrameΒΆ

Example

>>> from techminer2.packages.networks.coupling.sources  import NodeDegreeDataFrame
>>> df = (
...     NodeDegreeDataFrame()
...     #
...     # UNIT OF ANALYSIS:
...     .having_terms_in_top(20)
...     .having_citation_threshold(0)
...     .having_occurrence_threshold(2)
...     .having_terms_in(None)
...     #
...     # 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()
... ).head(15)
>>> # Display the resulting data frame
>>> print(df)  
   Node                       Name  Degree
0     0      Electron. Mark. 2:287       5
1     1        J. Econ. Bus. 3:422       4
2     2  Ind Manage Data Sys 2:386       3
3     3             Symmetry 1:176       3
4     4    J Manage Inf Syst 2:696       2
5     5       Sustainability 2:150       2
6     6     J. Innov. Manag. 1:226       2
7     7      Financ. Manage. 2:161       1
>>> df = (
...     NodeDegreeDataFrame()
...     #
...     # UNIT OF ANALYSIS:
...     .having_terms_in_top(20)
...     .having_citation_threshold(0)
...     .having_occurrence_threshold(2)
...     .having_terms_in(None)
...     #
...     # 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()
... ).head(15)
>>> # Display the resulting data frame
>>> print(df)  
   Node                       Name  Degree
0     0      Electron. Mark. 2:287       5
1     1        J. Econ. Bus. 3:422       4
2     2  Ind Manage Data Sys 2:386       3
3     3             Symmetry 1:176       3
4     4    J Manage Inf Syst 2:696       2
5     5       Sustainability 2:150       2
6     6     J. Innov. Manag. 1:226       2
7     7      Financ. Manage. 2:161       1