posit-dev / posit-dev/ggsql

Smooth should accept date/time axes

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

Nobody has claimed this yet.

plot building
Dominant language
Rust
Stars
554
Forks
30
Avg merge
17h 27m
Merged PRs (30d)
8

Description

This issue is a leftover from #223.

Currently the smooth requires the x to be continuous otherwise the computations don't work.
I've tried casting Dates as numeric, but got stuck on translating them back.
I couldn't translate them back to Dates, because fractional dates don't exist.
I couldn't translate them to Datetime because of some implementation detail.
I tried enlisting claude in solving this issue but we couldn't find a satisfactory solution at the time.
So this is a TODO issue mostly.

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 by tracing how smooth currently requires a continuous x axis and review the context from issue #223. Investigate the existing date and datetime representations and how smooth results are translated back. Done means smooth supports date/time axes without fractional-date errors and produces correct output.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.