EDA - histogram app constraints allow an integer ordinal but back end only allows continuous
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- r
- Ambito
- backend, data-visualization
Direzione di ricerca
Start with the histogram xAxisVariable constraints shown in the issue and the backend validation reported by validateHistogramPD. Compare the accepted variable shapes with the Rserve error for an integer ordinal Study year, then verify that the constraint and backend agree and that the histogram rejects or handles the variable consistently.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
production site and dev
GEMS 1
visualisation
histogram
x = Study year
Rserve log
2024-03-22 11:37:35.852115 Value is set to `count`. Resulting histogram object will represent counts of unique x-axis bins per group.
Error in validateHistogramPD(.histo, verbose) :
The independent axis must be continuous for a histogram.
Variable metadata. (type=integer, shape=ordinal)
apps constraints for pass->histogram
{
"0": {
"name": "histogram",
"displayName": "Histogram",
"description": "Visualize the distribution of a continuous variable",
"projects": [
"ClinEpiDB",
"MicrobiomeDB"
],
"maxPanels": 1,
"dataElementConstraints": [
{
"xAxisVariable": {
"isRequired": true,
"minNumVars": 1,
"maxNumVars": 1,
"allowedTypes": [
"number",
"date",
"integer"
],
"description": "Variable must be a number or date."
},
"facetVariable": {
"isRequired": false,
"minNumVars": 1,
"maxNumVars": 2,
"maxNumValues": 10,
"description": "Variable(s) must have 10 or fewer unique values and be of the same or a parent entity as the Overlay variable."
},
"overlayVariable": {
"isRequired": false,
"minNumVars": 1,
"maxNumVars": 1,
"maxNumValues": 8,
"description": "Variable must have 8 or fewer unique values and be of the same or a parent entity as the X-axis variable."
}
}
],
"dataElementDependencyOrder": [
[
"xAxisVariable"
],
[
"overlayVariable",
"facetVariable"
]
]
}
}
Seems that it should also be allowedShapes: [ 'continuous' ], ?
- Lingua principale
- R
- Stelle
- 1
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VEuPathDB/plot.data
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
empty two by two Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di VEuPathDB/plot.data
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pharmaverse/rtables#1123 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Trying to reassign a reactiveVal to the name of an existing reactiveVal doesn't overwrite the latter Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
RConsortium/rconsortium_website#649 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
posit-dev/r-shinylive#203 ·