apache / apache/arrow-cookbook

[R] tibble or data.frame?

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
r
Dominant language
C++
Stars
108
Forks
49
Avg merge
2h 14m
Merged PRs (30d)
1

Description

The language is a bit loose in a few places. I'd suggest at least noting that `tibble` is not required, but that the data frames returned by arrow include the tibble class attributes. So if you use tibble, they'll print and otherwise behave like tibbles. Otherwise, they're just `data.frame`s and that's fine.

You may also want to consider have (at least) your first examples use `data.frame(...)` to make clear that tibble is not required. (This is a cookbook, and (food) recipes often allow for substitutions or tell you ways you can do variations on it, right?)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the cookbook's R sections and the first examples that use data frames. Clarify that tibble is optional, explain the tibble class attributes returned by Arrow, and use data.frame(...) in initial examples where appropriate; the documentation should clearly distinguish the two choices.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.