We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2fdea6 commit 4446c40Copy full SHA for 4446c40
inst/shiny/C03Ca_ml_wine/app.R
@@ -208,6 +208,8 @@ server <- function(input, output) {
208
ranking <- ranking[order(-ranking$score, as.numeric(ranking$date)), ]
209
ranking$date <- as.POSIXct(ranking$date, origin = "1970-01-01")
210
ranking$date <- format(ranking$date, "%Y-%m-%d %H:%M:%S")
211
+ # Keep only best score for each student or team
212
+ ranking <- ranking[!duplicated(ranking$project), ]
213
}
214
message("Date reworked")
215
# Add a column with medals for the three first results
0 commit comments