The bdpar Package: Big Data Pipelining Architecture for R

In the last years, big data has become a useful paradigm for taking advantage of multiple sources to find relevant knowledge in real domains (such as the design of personalized marketing campaigns or helping to palliate the effects of several fatal diseases). Big data programming tools and methods have evolved over time from a MapReduce to a pipeline-based archetype. Concretely the use of pipelining schemes has become the most reliable way of processing and analyzing large amounts of data. To this end, this work introduces bdpar, a new highly customizable pipeline-based framework (using the OOP paradigm provided by R6 package) able to execute multiple preprocessing tasks over heterogeneous data sources. Moreover, to increase the flexibility and performance, bdpar provides helpful features such as (i) the definition of a novel object-based pipe operator (%>|%), (ii) the ability to easily design and deploy new (and customized) input data parsers, tasks, and pipelines, (iii) only-once execution which avoids the execution of previously processed information (instances), guaranteeing that only new both input data and pipelines are executed, (iv) the capability to perform serial or parallel operations according to the user needs, (v) the inclusion of a debugging mechanism which allows users to check the status of each instance (and find possible errors) throughout the process.

Miguel Ferreiro-Díaz , Tomás R. Cotos-Yáñez , José R. Méndez , David Ruano-Ordás
2020-04-30

CRAN packages used

R6, repo, drake, magrittr, rtweet, tuber, tm

CRAN Task Views implied by cited packages

HighPerformanceComputing, ReproducibleResearch, WebTechnologies, NaturalLanguageProcessing

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Ferreiro-Díaz, et al., "The R Journal: The bdpar Package: Big Data Pipelining Architecture for R", {The R Journal}, 2020

BibTeX citation

@article{RJ-2021-065,
  author = {Ferreiro-Díaz, Miguel and Cotos-Yáñez, Tomás R. and Méndez, José R. and Ruano-Ordás, David},
  title = {The R Journal: The bdpar Package: Big Data Pipelining Architecture for R},
  journal = {{The R Journal}},
  year = {2020},
  note = {https://doi.org/10.32614/RJ-2021-065},
  doi = {10.32614/RJ-2021-065},
  volume = {13},
  issue = {1},
  issn = {2073-4859},
  pages = {130-144}
}