Related Experiment Video
Updated: Jul 10, 2025

Cloud-Based Phrase Mining and Analysis of User-Defined Phrase-Category Association in Biomedical Publications
Published on: February 23, 2019
Optimizing large real-world data analysis with parquet files in R: A step-by-step tutorial
Abdullah I Abdelaziz1, Kent A Hanson1, Charles E Gaber1
1Department of Pharmacy Systems, Outcomes and Policy, College of Pharmacy, University of Illinois at Chicago, Chicago, Illinois, USA.
Purpose:
The use of open-source programming languages can facilitate open science practices in real-world evidence (RWE) studies. Real-world studies often rely on using big data, which makes using such languages complicated. We demonstrate an efficient approach that enables RWE researchers to use R to undertake RWE analysis tasks from cohort building to reporting.
Methods:
Using the Merative Marketscan data (2017-2019), we developed an R function to transform the data into parquet format to be used in R. Then, we compared the differences in data size before and after transformation. We compared the performance of the transformed data in R to the original data in terms of numerical consistency and running times required to complete simple exploratory tasks. To show how the transformed databases can be used in practice, we conducted a simplified replication of an active comparator new user study from the literature. All codes are available on GitHub.
Results:
Our approach exhibited high efficiency in data storage, as evidenced by the converted data size, which ranged from 10% to 43% of that of the original data files. The runtime of the exploratory tasks in R generally outperformed that of the original data with SAS. We showed, through example, how the converted data can be efficiently used to implement an RWE study.
Conclusion:
We demonstrate a free and efficient solution to facilitate the use of open-source programming languages with big real-world databases, which can facilitate the adoption of open science practices.
Related Concept Videos
Introduction to R
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Statistical Analysis: Overview
One of the most commonly used statistical quantifiers is the mean, which is the ratio between the sum of the numerical values of all results and the...
Statistical Methods to Analyze Parametric Data: ANOVA
One-way ANOVA is applied when a single independent variable or factor is scrutinized. It compares...
Statistical Software for Data Analysis and Clinical Trials
Statistical Methods for Analyzing Epidemiological Data

