rdata: A Python library for R datasets

Research work usually requires the analysis and processing of data from different sources.Traditionally in statistical computing, the R language has been widely used for this task, and a huge amount of datasets have been compiled in the Rda and Rds formats, native to this programming language.As these formats contain internally the representation of R objects, they cannot be directly used from Python, another widely used language for data analysis and processing.The library rdata allows to load and convert these datasets to Python objects, without the need of exporting them to other intermediate formats which may not keep all the original information.This library has minimal dependencies, ensuring that it can be used in contexts where an R installation is not available.The capability to write data in Rda and Rds formats is also under development.Thus, the library rdata facilitates data interchange, enabling the usage of the same datasets in both languages (e.g. for reproducibility, comparisons of results against methods in both languages, or the creation of complex processing pipelines that involve steps in both R and Python).

Authors

Institutions

Publication Details

Journal
The Journal of Open Source Software
Published
2024-12-01
DOI
https://doi.org/10.21105/joss.07540
Primary Topic
Computational Physics and Python Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

rdata: A Python library for R datasets

Tuomas Rossi, Carlos Ramos-Carreño
The Journal of Open Source Software
Computational Physics and Python Applications
article

rdata: A Python library for R datasets

Tuomas Rossi, Carlos Ramos-Carreño
article en

Abstract

Research work usually requires the analysis and processing of data from different sources.Traditionally in statistical computing, the R language has been widely used for this task, and a huge amount of datasets have been compiled in the Rda and Rds formats, native to this programming language.As these formats contain internally the representation of R objects, they cannot be directly used from Python, another widely used language for data analysis and processing.The library rdata allows to load and convert these datasets to Python objects, without the need of exporting them to other intermediate formats which may not keep all the original information.This library has minimal dependencies, ensuring that it can be used in contexts where an R installation is not available.The capability to write data in Rda and Rds formats is also under development.Thus, the library rdata facilitates data interchange, enabling the usage of the same datasets in both languages (e.g. for reproducibility, comparisons of results against methods in both languages, or the creation of complex processing pipelines that involve steps in both R and Python).

The Journal of Open Source SoftwareVol. 9(104)
CSC - IT Center for Science (Finland) (FI), Universidad Autónoma de Madrid (ES)
Ministerio de Ciencia, Innovación y Universidades, European Commission, China Scholarship Council, Universidad Autónoma de Madrid, HORIZON EUROPE Framework Programme, Agencia Estatal de Investigación
Openalex Percentile: Top 80%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

rdata: A Python library for R datasets — Tuomas Rossi, Carlos Ramos-Carreño · The Journal of Open Source Software (2024) | TGRS Research Map | TGRS