init
This commit is contained in:
11
analysis.R
Normal file
11
analysis.R
Normal file
@@ -0,0 +1,11 @@
|
||||
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), ]
|
||||
}
|
||||
1
cpubenchmark.json
Normal file
1
cpubenchmark.json
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user