Fields differenceΒΆ
Example
>>> # Creates, configures, and runs the extractor
>>> from techminer2.database.extractors import DifferenceExtractor
>>> terms = (
... DifferenceExtractor()
... #
... # FIELDS:
... .with_field("author_keywords_raw")
... .with_other_field("index_keywords_raw")
... #
... # DATABASE:
... .where_root_directory("examples/fintech/")
... .where_database("main")
... .where_record_years_range(None, None)
... .where_record_citations_range(None, None)
... #
... .run()
... )
>>> # Print the first 10 extracted terms
>>> from pprint import pprint
>>> pprint(terms[:10])
['ADOPTION',
'AI',
'ALTERNATIVE_DATA',
'BANKING_COMPETITION',
'BANKING_INNOVATIONS',
'BANKS',
'BANK_FINTECH_PARTNERSHIP',
'BEHAVIOURAL_ECONOMICS',
'BLOCKCHAINS',
'BUSINESS_MODEL']