JuliaData / JuliaData/RData.jl
Feature request: support for attributes
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 63
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
I know it can be tough, since Julia doesn't support anything similar, but many people (including me) store important metadata in attributes.
I guess objects' metadata should be inserted as distinct items in the resulting dictionary.
E.g. if I read object a generated as
a<-"text"
attr(a, 'label') <- 'my label'
save("a", file="obj_a.rda")
then it should produce dictionary with two entries:
"a" → "Kuku!""a|label" → "my label"
Character | can be replaced with any other character that cannot occur in variable's name.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named; start by locating the RData reader entry point and inspecting how object values are converted into the resulting dictionary. Confirm how R attributes are represented, then add coverage for the example's value and label entries, with completion defined as preserving attributes as distinct dictionary entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia, r
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100