Skip to content

Instantly share code, notes, and snippets.

@fubits1
Last active June 5, 2018 17:26
Show Gist options
  • Save fubits1/2fc644aa95e229d17e133d1ad9c06d81 to your computer and use it in GitHub Desktop.
Save fubits1/2fc644aa95e229d17e133d1ad9c06d81 to your computer and use it in GitHub Desktop.
library("roomba")
json_jsonlite <- jsonlite::fromJSON("data.json",
simplifyVector = FALSE,
simplifyDataFrame = FALSE,
simplifyMatrix = FALSE)
json_roomba <- roomba(json_jsonlite$data, cols = "values")
library(tidyverse)
json_roomba %>% str_split(",")
#jsonlite atomic level
json_jsonlite$data$result[1][[1]][[2]][[1]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment