Main Path Analysis#
>>> from techminer2.science_mapping.citation.network import main_path_analysis
>>> results = main_path_analysis(
... #
... # COLUMN PARAMS:
... top_n=None,
... citations_threshold=0,
... #
... # LAYOUT:
... nx_k=None,
... nx_iterations=30,
... nx_random_state=0,
... #
... # NODES:
... node_size_range=(30, 70),
... textfont_size_range=(10, 20),
... textfont_opacity_range=(0.35, 1.00),
... #
... # EDGES:
... edge_color="#7793a5",
... edge_width_range=(0.8, 3.0),
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
--INFO-- Paths computed
--INFO-- Points per link computed
--INFO-- Points per path computed
--INFO-- The file 'example/reports/main_path_analysis.txt' was created.
>>> results.fig_.write_html("sphinx/_static/analyze/citation/network/main_path_analysis.html")
>>> results.df_.head()
citing_article ... points
0 Gomber P., 2018, J MANAGE INF SYST, V35, P220 ... ... 3
1 Gomber P., 2018, J MANAGE INF SYST, V35, P220 ... ... 3
2 Hu Z., 2019, SYMMETRY, V11 1:176 ... 4
3 Alt R., 2018, ELECTRON MARK, V28, P235 1:150 ... 1
4 Alt R., 2018, ELECTRON MARK, V28, P235 1:150 ... 2
[5 rows x 3 columns]