1. Using macros in microsoft excel to facilitate cleaning of research data
- Author
-
Justin Bauzon, Caleb Murphy, and Sandhya Wahi-Gururaj
- Subjects
Database ,Intrinsic function ,business.industry ,Brief Report ,Vital signs ,Sorting ,microsoft excel ,Information repository ,computer.software_genre ,RC31-1245 ,vba macro ,Informatics ,sort ,Medicine ,retrospective chart review ,Transcription (software) ,Macro ,business ,computer ,Internal medicine - Abstract
Background: Retrospective chart review studies may be delayed by inability to export clean clinical data from an electronic medical record (EMR) or data repository. Macros are pre-programmed procedures that can be used in Microsoft Excel to help streamline the process of cleaning clinical datasets. Objectives: To demonstrate how macros may be useful for researchers at community hospitals and smaller academic health centers that lack informatics support. Methods: Using an intrinsic function of our institution’s EMR, vital signs and lab results from 20 individual hospitalizations were exported to a spreadsheet. Two macros were developed to sort through these datasets and output them into a specified format. The speed of macro-assisted data cleaning was compared to manual transcription. Results: Time spent on data cleaning was significantly reduced when using macro-assisted sorting compared to the manual approach for both vital signs (46.5 seconds versus 12.3 minutes per record, a 94% reduction; P
- Published
- 2021