>>> #
>>> # TEST PREPARATION
>>> #
>>> # Countries:
>>> from techminer2.thesaurus.countries import CreateThesaurus, ApplyThesaurus
>>> CreateThesaurus(root_directory="example/", quiet=True).run()
>>> ApplyThesaurus(root_directory="example/", quiet=True).run()
>>> #
>>> # Organizations:
>>> from techminer2.thesaurus.organizations import CreateThesaurus, ApplyThesaurus
>>> CreateThesaurus(root_directory="example/", quiet=True).run()
>>> ApplyThesaurus(root_directory="example/", quiet=True).run()
>>> #
>>> # Descriptors:
>>> from techminer2.thesaurus.descriptors import CreateThesaurus, ApplyThesaurus
>>> CreateThesaurus(root_directory="example/", quiet=True).run()
>>> ApplyThesaurus(root_directory="example/", quiet=True).run()
>>> #
>>> # Capture and print stderr output
>>> #
>>> # order_records_by:
>>> # date_newest, date_oldest, global_cited_by_highest, global_cited_by_lowest
>>> # local_cited_by_highest, local_cited_by_lowest, first_author_a_to_z
>>> # first_author_z_to_a, source_title_a_to_z, source_title_z_to_a
>>> #
>>> from techminer2.database.tools import RecordMapping
>>> mapping = (
... RecordMapping()
... #
... .where_root_directory_is("example/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... .where_records_match(None)
... .where_records_ordered_by("global_cited_by_highest")
... #
... .run()
... )
>>> from pprint import pprint
>>> pprint(mapping[0])
{'AB': 'THE_FINANCIAL_SERVICES_INDUSTRY has been experiencing '
'THE_RECENT_EMERGENCE of NEW_TECHNOLOGY_INNOVATIONS and '
'PROCESS_DISRUPTIONS . THE_INDUSTRY overall , and '
'MANY_FINTECH_START_UPS are looking for NEW_PATHWAYS to '
'SUCCESSFUL_BUSINESS_MODELS , THE_CREATION of '
'ENHANCED_CUSTOMER_EXPERIENCE , and APPROACHES that result in '
'SERVICES_TRANSFORMATION . INDUSTRY and ACADEMIC_OBSERVERS believe this '
'to be more of A_REVOLUTION than A_SET of LESS_INFLUENTIAL_CHANGES , '
'with FINANCIAL_SERVICES as A_WHOLE due for MAJOR_IMPROVEMENTS in '
'EFFICIENCY , CUSTOMER_CENTRICITY , and INFORMEDNESS . '
'THE_LONG_STANDING_DOMINANCE of LEADING_FIRMS that are not able to '
'figure out how to effectively hook up with THE_FINTECH_REVOLUTION is '
'at STAKE . we present A_NEW_FINTECH_INNOVATION_MAPPING_APPROACH that '
'enables THE_ASSESSMENT of THE_EXTENT to which there are CHANGES and '
'TRANSFORMATIONS in FOUR_AREAS of FINANCIAL_SERVICES . we discuss : '
'OPERATIONS_MANAGEMENT in FINANCIAL_SERVICES and THE_CHANGES occurring '
'. TECHNOLOGY_INNOVATIONS that have begun to leverage THE_EXECUTION and '
'STAKEHOLDER_VALUE associated with PAYMENTS , CRYPTOCURRENCIES , '
'BLOCKCHAIN , and CROSS_BORDER_PAYMENTS . MULTIPLE_INNOVATIONS that '
'have affected LENDING_AND_DEPOSIT_SERVICES , PEER_TO_PEER ( p2p ) '
'LENDING , and SOCIAL_MEDIA_USE . ISSUES with_respect_to INVESTMENTS , '
'FINANCIAL_MARKETS , TRADING , RISK_MANAGEMENT , ROBO_ADVISORY and '
'SERVICES influenced by BLOCKCHAIN_AND_FINTECH_INNOVATIONS . '
'COPYRIGHT_TAYLOR and FRANCIS_GROUP , llc .',
'AR': 'Gomber P., 2018, J MANAGE INF SYST, V35, P220',
'AU': 'Gomber P.; Kauffman R.J.; Parker C.; Weber B.W.',
'DE': nan,
'ID': 'BLOCKCHAIN; COMMERCE; RISK_MANAGEMENT; BUSINESS_MODELS; '
'CUSTOMER_EXPERIENCE; FINANCIAL_SERVICE; FINANCIAL_SERVICES_INDUSTRIES; '
'NEW_TECHNOLOGIES; OPERATIONS_MANAGEMENT; STAKEHOLDER_VALUES; '
'TECHNOLOGY_INNOVATION; FINANCE',
'PY': 2018,
'SO': 'Journal of Management Information Systems',
'TC': 576,
'TI': 'On the Fintech Revolution: Interpreting the Forces of Innovation, '
'Disruption, and Transformation in Financial Services',
'UT': 1260}