>>> from techminer2.tools.associations import item_associations
>>> associations = item_associations(
... #
... # FUNCTION PARAMS:
... item='FINTECH',
... #
... # CO-OCC PARAMS:
... columns='author_keywords',
... rows=None,
... #
... # COLUMN PARAMS:
... col_top_n=20,
... col_occ_range=(None, None),
... col_gc_range=(None, None),
... col_custom_terms=None,
... #
... # ROW PARAMS:
... row_top_n=None,
... row_occ_range=(None, None),
... row_gc_range=(None, None),
... row_custom_terms=None,
... #
... # CHART PARAMS:
... title=None,
... field_label=None,
... metric_label=None,
... textfont_size=10,
... marker_size=7,
... line_width=1.5,
... yshift=4,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... )
>>> associations.df_.head()
FINTECH 31:5168
rows
INNOVATION 07:0911 5
FINANCIAL_SERVICES 04:0667 3
FINANCIAL_INCLUSION 03:0590 3
MARKETPLACE_LENDING 03:0317 3
FINANCIAL_TECHNOLOGY 03:0461 2