cmkimber / Elections_Ontario_App

Webapp to explore Elections Ontario data
0 stars 0 forks source link

alias dynamic pane 3 axis labels/column titles #11

Closed cmkimber closed 2 months ago

cmkimber commented 2 months ago

At present, the response variable for the pane 3 plot (repeated in the associated DataTable) is simply the relevant column name of the source df election_seat_ballot. These should be replaced with user-friendly aliases but this has to be handled dynamically for both output types.

cmkimber commented 2 months ago

Aliases for the response variables that can be chosen via the radioButtons and checkboxInput inputs are now encoded in the response_options variable so that it can be called when specifying axis/column names as a function of the current input$seats_ballots value at any given time.