meta-data lost

Open
#99 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
julia, r
Domain
data

Research direction

Reproduce the issue with RDatasets.dataset("datasets", "Titanic") and compare it with RCall.rcopy(R"as.data.frame(datasets::Titanic)"). Start at these entry points and trace how the dataset is converted. Done means the loaded data preserves the variable types rather than converting them to strings and integers.

Written by the indexing model from the issue text.

Description

I noticed that:
RDatasets.dataset("datasets", "Titanic")

doesn't have the variable types it just converts everything to strings and integers (maybe because it's being converted to a text file in between?)

see
RCall.rcopy(R"as.data.frame(datasets::Titanic)")

Dominant language
R
Stars
167
Forks
54
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from JuliaStats/RDatasets.jl

All issues in JuliaStats/RDatasets.jl

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.