You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"This section shows the definitions used to filter the data. You can use them to understand how the data was filtered and what criteria were applied. 🔎"
388
-
),
389
-
mo.accordion(
390
-
{
391
-
"JSONs": mo.accordion(
392
-
{
393
-
definition: mo.json(load_definition(definition))
394
-
fordefinitionindefinitions
395
-
}
396
-
),
397
-
},
398
-
),
399
-
]
400
-
)
401
-
return
391
+
return (load_definition,)
402
392
403
393
404
394
@app.cell
@@ -424,7 +414,7 @@ def _(
424
414
425
415
ifcode_column:
426
416
diagnosis_chart= [
427
-
mo.md("## Codes comparison per syndromic indicator"),
417
+
mo.md("### Codes comparison per syndromic indicator"),
428
418
top_n.left(),
429
419
groupped_bar(
430
420
df_filtered,
@@ -436,20 +426,50 @@ def _(
436
426
else:
437
427
diagnosis_chart= []
438
428
429
+
timeseries= [
430
+
mo.md("### Time series"),
431
+
plot_cases(
432
+
df_filtered,
433
+
definitions,
434
+
date_column=date_column,
435
+
date_format=date_format_input.value,
436
+
),
437
+
]
438
+
439
439
mo.vstack(
440
440
[
441
-
mo.md("## Time series"),
442
-
plot_cases(
443
-
df_filtered,
444
-
definitions,
445
-
date_column=date_column,
446
-
date_format=date_format_input.value,
447
-
),
441
+
mo.md("## Findings from the data 📊"),
442
+
*timeseries,
448
443
*diagnosis_chart,
449
444
]
450
445
)
451
446
return
452
447
453
448
449
+
@app.cell
450
+
def_(definitions, load_definition, mo):
451
+
mo.stop(definitionsisNone)
452
+
453
+
mo.vstack(
454
+
[
455
+
mo.md("### Definitions details"),
456
+
mo.md(
457
+
"Here the definitions used to filter the data. See here what criteria were applied. 🔎"
0 commit comments