24  Instrument Event Map

This shows which instruments are associated with each event in longitudinal projects.

Cannot be imported using REDCapR. See Section 27.1 for more information.

import_instrument_event_mappings()

In this example, we will export the project’s instrument-event mapping and re-import it so that no changes are made to the project.

instrument_event_mappings = project.export_instrument_event_mappings(format_type='df')
instrument_event_mappings
arm_num unique_event_name form
0 1 personal_info_arm_1 demographics
1 1 case_intake_arm_1 symptoms
2 1 case_intake_arm_1 test_information
3 1 notifications_arm_1 close_contacts
4 1 notifications_arm_1 work_information
project.import_instrument_event_mappings(instrument_event_mappings, import_format='df')
5