insightsengineering / insightsengineering/osprey

Improvements on g_patient_profile.R

Open
#19 0 comments 0 reactions 0 assignees View on GitHub
devops enhancement
Dominant language
R
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

NEST/osprey/pull/86
1. Add helper function for `line_col`, `marker_color` and `marker_shape`
NEST/osprey/pull/86/files/bbf3527a9d0a696e723a67570760e714202ed5a1#r20419
2. Add helper functions to reduce the if-else block length
NEST/osprey/pull/86/files/bbf3527a9d0a696e723a67570760e714202ed5a1#r20173

Provenance:
```
Creator: hey59
```

Contributor guide

Open the contributing guide

Research direction

Start by opening g_patient_profile.R and reviewing the handling of line_col, marker_color, and marker_shape, along with the long if-else blocks. Use the referenced pull request and review comments to understand the intended helper boundaries. Done means the requested helper functions are added and the existing conditional logic is reduced without changing the graph output.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.