Terms by Year FrameΒΆ
>>> from techminer2.metrics import terms_by_year_frame
>>> terms_by_year_frame(
... field="author_keywords",
... cumulative=False,
... #
... # FILTER PARAMS:
... metric='OCC',
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_terms=None,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... ).head(10)
year 2015 2016 2017 2018 2019
author_keywords
FINTECH 31:5168 0 5 8 12 6
INNOVATION 07:0911 0 3 3 1 0
FINANCIAL_SERVICES 04:0667 0 1 0 3 0
FINANCIAL_INCLUSION 03:0590 0 1 2 0 0
FINANCIAL_TECHNOLOGY 03:0461 0 0 1 1 1
CROWDFUNDING 03:0335 0 0 1 1 1
MARKETPLACE_LENDING 03:0317 0 0 0 2 1
BUSINESS_MODELS 02:0759 0 0 0 2 0
CYBER_SECURITY 02:0342 0 0 0 2 0
CASE_STUDY 02:0340 0 0 1 0 1
>>> from techminer2.metrics import terms_by_year_frame
>>> terms_by_year_frame(
... field="author_keywords",
... cumulative=True,
... #
... # FILTER PARAMS:
... metric='OCC',
... top_n=20,
... occ_range=(None, None),
... gc_range=(None, None),
... custom_terms=None,
... #
... # DATABASE PARAMS:
... root_dir="example/",
... database="main",
... year_filter=(None, None),
... cited_by_filter=(None, None),
... ).head(10)
year 2015 2016 2017 2018 2019
author_keywords
FINTECH 31:5168 0 5 13 25 31
INNOVATION 07:0911 0 3 6 7 7
FINANCIAL_SERVICES 04:0667 0 1 1 4 4
FINANCIAL_INCLUSION 03:0590 0 1 3 3 3
FINANCIAL_TECHNOLOGY 03:0461 0 0 1 2 3
CROWDFUNDING 03:0335 0 0 1 2 3
MARKETPLACE_LENDING 03:0317 0 0 0 2 3
BUSINESS_MODELS 02:0759 0 0 0 2 2
CYBER_SECURITY 02:0342 0 0 0 2 2
CASE_STUDY 02:0340 0 0 1 1 2