Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Shiny App more robust #22

Closed
2 of 3 tasks
milanwiedemann opened this issue Nov 12, 2024 · 1 comment · Fixed by #25
Closed
2 of 3 tasks

Make Shiny App more robust #22

milanwiedemann opened this issue Nov 12, 2024 · 1 comment · Fixed by #25

Comments

@milanwiedemann
Copy link
Member

milanwiedemann commented Nov 12, 2024

  • Check that Codelists are the same coding system as the selected dataset. This will need to check the @coding_system_id property from codeusage/R/opencodelists.R with input$dataset:
    coding_system = codelist_info$coding_system_id,

    codeusage/R/server.R

    Lines 18 to 29 in bc4ffc1

    selected_data <- reactive({
    if (input$dataset == "snomed") {
    codeusage::snomed_usage %>%
    select(start_date, end_date, code = snomed_concept_id, description, usage)
    } else if (input$dataset == "icd10") {
    codeusage::icd10_usage %>%
    select(start_date, end_date, code = icd10_code, description, usage)
    } else if (input$dataset == "opcs") {
    codeusage::opcs_usage %>%
    select(start_date, end_date, code = opcs_code, description, usage)
    }
    })
  • Host the additional data (update the webpage)
  • Breakdown codes selected from the codelist by used and unused codes #27
@milanwiedemann
Copy link
Member Author

Mostly addressed in #25

@milanwiedemann milanwiedemann linked a pull request Nov 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant