ShinyApp

Contents

ShinyApp#

server(input, output, session)[source]#

Defines the server logic for handling user inputs, processing data, and generating outputs for DQMaRC.

Functions#

handle_source_data_upload()

Handles the upload of the source data file.

show_error_input_df_text(df_input, id_num)

Displays an error message if no dataset is found.

input_data()

Renders the uploaded DataFrame for viewing.

input_data_shape_fx()

Displays the shape of the uploaded DataFrame.

initialise_test_params()

Initialises test parameters based on the uploaded data.

handle_test_params_upload()

Handles the upload of test parameters file.

initialise_DQ_tool()

Initialises the DataQuality tool with the uploaded data.

render_test_params()

Renders the test parameters UI for editing.

run_metrics()

Runs the data quality metrics based on the test parameters.

download_full_results()

Downloads the full results of the DQ checks.

download_summary_results()

Downloads the summary results of the DQ checks.

overall_quality_label_fx()

Displays the overall quality label based on the summary results.

donutchart_fx()

Generates donut charts for the DQ metrics.

barplot_chart_fx()

Generates bar charts for the selected DQ metric.

update_metric_choices()

Updates the metric choices based on the summary results.

update_variable_choices()

Updates the variable choices based on the selected metric.

display_error_records_fx()

Displays the error records based on the selected metric and variable.