Skip to content

Function to update cohort names in Shiny app #95

Description

@laacri

Write a general function to update the cohort names in the Shiny app. Potential options to include:

  1. Pass a name mapping as a parameter
  2. Reading the name mapping from file if available (what type of file? Excel, json, txt ...?)

Notes:

  • Already tried to update the names when forming the cohorts, but it turned out to be tricky: I got a warning that "cohort_name must be snake case and less than 100 characters" and the cohorts were renamed automatically.
  • The snake case is more solid than names potentially containing spaces and special characters, so it's probably better to leave it unchanged during code execution.
  • The safest choice would then be to update the names in the final summarised result, once all computation is done.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions