IQSS / IQSS/dataverse

replace download option "RData" with RDS

Open
#6,678 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature: File Upload & Handling Type: Suggestion
Dominant language
Java
Stars
1.1k
Forks
564
Avg merge
2d 2h
Merged PRs (30d)
29

Description

In https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/QPHMKX each of the 4 data files provides the option to download the individual file in RData format.
This is nice for R users but in this example the downloaded data get inserted as an object called "x" in R; loading several objects will repeatedly overwrite object x.

As an alternative to RData format I would suggest to use R's RDS format https://stat.ethz.ch/R-manual/R-devel/library/base/html/readRDS.html which

  • saves exactly one object per file
  • when reading back it can be assigned to any name, fully under control by the programmer.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no implementation file or test. Start by locating the code that offers or generates per-file RData downloads for the linked dataset, then review the RDS documentation linked in the report. Done means the individual-file option uses RDS semantics so each downloaded file contains one object that can be assigned by the reader.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, r
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.