diff --git a/R/app_server.R b/R/app_server.R index a11c95b..53de001 100644 --- a/R/app_server.R +++ b/R/app_server.R @@ -176,11 +176,11 @@ app_server <- function( input, output, session ) { # DATASET DASH VIZ : DISTRIBUTIONS ######################################## dfamodules::mod_distribution_server( - id = "distribution_contributor", + id = "distribution_source", df = filtered_manifest, - group_by_var = "contributor", + group_by_var = "source", title = NULL, - x_lab = "Contributor", + x_lab = "Source", y_lab = "Number of Datasets", fill = "#0d1c38" ) diff --git a/R/app_ui.R b/R/app_ui.R index 69970f4..67b5299 100644 --- a/R/app_ui.R +++ b/R/app_ui.R @@ -111,7 +111,7 @@ app_ui <- function() { title = "Distribution of datasets by contributor", status = "primary", collapsible = TRUE, - dfamodules::mod_distribution_ui("distribution_contributor") + dfamodules::mod_distribution_ui("distribution_source") ), shinydashboard::box( title = "Distribution of datasets by data type",