Skip to content

Commit

Permalink
update standalone app example to reflect changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pburnsdata committed Jun 10, 2024
1 parent 6ce8079 commit 6610233
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions inst/examples/standalone_app.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ if (!interactive()) {
}

new_mapping <- list(labs = list("id_col" = "USUBJID", "measure_col" = "TEST",
"measure_values" = list("CREAT" = "Creatinine",
"measure_values" = list("CREAT" = "Creatinine", #specified measures
"CYSTC" = "Cystatin C",
"eGFR" = "eGFR",
"eGFRcys" = "eGFRcys",
"ALB/CREAT" = "Albumin/Creatinine",
"BICARB" = "Bicarbonate",
"BUN" = "Blood Urea Nitrogen",
"CA" = "Calcium",
"CL" = "Chloride",
"PHOS" = "Phosphorus",
"K" = "Potassium",
"SODIUM" = "Sodium"
"nepFC_BICARB" = "Bicarbonate", #foldchange measures
"nepFC_BUN" = "Blood Urea Nitrogen",
"nepFC_CA" = "Calcium",
"nepFC_CL" = "Chloride",
"nepFC_PHOS" = "Phosphorus",
"nepFC_K" = "Potassium",
"nepFC_SODIUM" = "Sodium"
),
"value_col" = "STRESN",
"unit_col" = "STRESU",
Expand All @@ -45,6 +45,9 @@ vitals = list("id_col" = "USUBJID", "treatment_col" = "ARM", "measure_col" = "TE
"vs_baseline_flag" = "BLFL",
"visit_col" = "VISIT",
"visitn_col" = "VISITN",
"studyday_col" = "DY",
"value_col" = "STRESN",
"unit_col" = "STRESU",
"measure_values" = list("DIABP" = "Diastolic Blood Pressure",
"SYSBP" = "Systolic Blood Pressure")
)
Expand Down

0 comments on commit 6610233

Please sign in to comment.