Skip to content

Commit

Permalink
Update nutrients order
Browse files Browse the repository at this point in the history
  • Loading branch information
langbart committed Dec 20, 2023
1 parent b6945d4 commit 6b8f6f9
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mod_nutrients_bar_highlight.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ mod_nutrients_highlight_card_server <- function(id, var, period = "month", n = N
output$n <- apexcharter::renderApexchart({
y_formatter <- apexcharter::format_num(d$series[[1]]$series_format, suffix = d$series[[1]]$series_suffix)
series <- list(
l$Protein, l$Zinc, l$`Omega-3`, l$`Vitamin A`, l$Calcium, l$Iron
l$Protein, l$Zinc, l$`Vitamin A`, l$Calcium, l$`Omega-3`, l$Iron
)

plot_timeseries(
Expand Down
2 changes: 1 addition & 1 deletion R/mod_treemaps.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mod_nutrient_treemap_server <- function(id, var, period = "month", n = NULL,

data <- peskas.timor.portal::summary_data$nutrients_per_catch
data <- data[match(c(
"Protein", "Zinc", "Omega-3", "Vitamin A", "Calcium", "Iron"
"Protein", "Zinc", "Vitamin A", "Calcium", "Omega-3", "Iron"
), data$nutrient_names), ]

output$t <- apexcharter::renderApexchart({
Expand Down
Binary file modified data/aggregated.rda
Binary file not shown.
Binary file modified data/data_last_updated.rda
Binary file not shown.
Binary file modified data/indicators_grid.rda
Binary file not shown.
Binary file modified data/label_groups_list.rda
Binary file not shown.
Binary file modified data/municipal_aggregated.rda
Binary file not shown.
Binary file modified data/municipal_taxa.rda
Binary file not shown.
Binary file modified data/nutrients_aggregated.rda
Binary file not shown.
Binary file modified data/pars.rda
Binary file not shown.
Binary file modified data/summary_data.rda
Binary file not shown.
Binary file modified data/taxa_aggregated.rda
Binary file not shown.
Binary file modified data/taxa_names.rda
Binary file not shown.

0 comments on commit 6b8f6f9

Please sign in to comment.