Files
minipc/analysis.R
2025-12-06 12:29:33 +01:00

12 lines
241 B
R

library(jsonlite)
library(data.table)
library(ggplot2)
init <- function() {
j <<- fromJSON("cpubenchmark.json")
d <<- j$data
setDT(d)
d[, price := as.numeric(gsub("[\\$,]", "", price))]
dd <<- \() d[ grepl(s, name), ]
}