ggplot2 writer

Open
#340 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 6 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
r, rust, sql

Research direction

No files, tests, or entry points are named. Start by reviewing the repository structure and current plotting or writer architecture, then define the scope of ggplot2 output and its relationship to the SQL backend. Done requires an agreed design, implementation criteria, and tests for the proposed writer.

Written by the indexing model from the issue text.

Description

writer

I think we all agree that if you work in R, people should probably use ggplot2, but it might be nice to write to ggplot2 for a few reasons:

  1. If you want the plot declaration to match across languages. (i.e. you work in R, but collaborator works in SQL, you use ggsql as lingua franca)
  2. You want to tweak plots with ggplot2 exclusive functionality, such as that provided by the extension ecosystem.
  3. You want the database backend to avoid materialising data for summaries (and are unfamiliar with dbplyr).
    4. In the far future, archeologists will excavate GitHub's arctic vault on the Svalbart islands and find ggsql as the Rosetta's stone of GoG plotting syntax.
Dominant language
Rust
Stars
575
Forks
33
Avg merge
7d 18h
Merged PRs (30d)
11

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 posit-dev/ggsql

All issues in posit-dev/ggsql

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.