JuliaData / JuliaData/RData.jl

Add "unique_colnames" keyword option to load()

Open
#45 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
63
Forks
17
PR merge metrics
No merged PRs in 30d

Description

As mentioned in #44 , it would be nice to add unique_colnames=true option to load(), which would propagate to DataFrame({r data frame}, makeunique=unique_colnames).
That will make the default behaviour reasonable, while still allowing the user to control it.

Contributor guide

No contributing guide indexed for this repository

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

Start at the load() entry point and inspect how it constructs DataFrame({r data frame}, makeunique=unique_colnames). Add the keyword option so it is propagated to makeunique, then verify that the default and explicit true/false cases produce the intended column names.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.