Fields differenceΒΆ

Example

>>> # Creates, configures, and runs the extractor
>>> from techminer2.database.extractors import DifferenceExtractor
>>> terms = (
...     DifferenceExtractor()
...     #
...     # FIELDS:
...     .with_field("raw_author_keywords")
...     .with_other_field("raw_index_keywords")
...     #
...     # DATABASE:
...     .where_root_directory_is("examples/fintech/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(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']